diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6abbf34fd..f62296b55 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -99,8 +99,13 @@ jobs: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} + - name: Install Go + uses: actions/setup-go@v5 + with: + go-version-file: 'go.mod' + - uses: depot/setup-action@v1 - - name: Build devnet + - name: Build devnet and run Go tests id: docker_build uses: depot/bake-action@v1 with: @@ -112,13 +117,6 @@ jobs: project: ${{ vars.DEPOT_PROJECT }} workdir: build load: true - - - name: Install Go - uses: actions/setup-go@v5 - with: - go-version-file: 'go.mod' - - - name: Run Go tests working-directory: ${{ github.workspace }} run: go test ./...