diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index af29e9cd3..439c4d06a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,12 +30,12 @@ jobs: - name: Prepare for Go run: | sudo apt-get install -y make gcc + - name: Checkout code + uses: actions/checkout@v4 - name: Install Go uses: actions/setup-go@v5 with: go-version: ${{ matrix.go }} - - name: Checkout code - uses: actions/checkout@v4 - name: Run tests run: | # separate test to avoid RESET MASTER conflict @@ -64,11 +64,11 @@ jobs: - name: Prepare for Go run: | sudo apt-get install -y make gcc + - name: Checkout code + uses: actions/checkout@v4 - name: Install Go uses: actions/setup-go@v5 with: go-version: "1.22" - - name: Checkout code - uses: actions/checkout@v4 - name: Build on ${{ matrix.os }}/${{ matrix.arch }} run: GOARCH=${{ matrix.arch }} GOOS=${{ matrix.os }} go build ./...