From 32b5e4695a2ab4b6a519c748e141796e498fa90f Mon Sep 17 00:00:00 2001 From: Vladimir Dementyev Date: Tue, 4 Jun 2024 13:37:26 -0700 Subject: [PATCH] fix(ci): go mod vendor --- .github/workflows/release-binaries.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-binaries.yml b/.github/workflows/release-binaries.yml index 65f78d8f..42b09c69 100644 --- a/.github/workflows/release-binaries.yml +++ b/.github/workflows/release-binaries.yml @@ -78,6 +78,9 @@ jobs: key: vendor-${{ hashFiles('**/go.sum') }} restore-keys: | vendor- + - uses: actions/setup-go@v4 + with: + go-version-file: go.mod - run: go mod vendor - uses: ruby/setup-ruby@v1 with: @@ -86,9 +89,6 @@ jobs: bundler-cache: true - name: Build mruby run: bash -c '(cd vendor/github.com/mitchellh/go-mruby && MRUBY_CONFIG=../../../../../../etc/build_config.rb make libmruby.a)' - - uses: actions/setup-go@v4 - with: - go-version-file: go.mod - name: Set VERSION (if any) if: ${{ contains(github.ref, 'refs/tags/v') }} id: version