Skip to content

Commit

Permalink
use actions/setup-go
Browse files Browse the repository at this point in the history
to fix macos runner
  • Loading branch information
trevyn committed May 12, 2024
1 parent 8517c60 commit 1e28c50
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,15 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "stable"
check-latest: true
cache: false
- run: go version

- run: rustup default ${{ matrix.rust }} && rustup update ${{ matrix.rust }}

- run: go version

- run: go mod vendor
working-directory: "librclone-sys"

Expand All @@ -67,6 +71,12 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "stable"
check-latest: true
cache: false
- run: go version

- run: rustup default stable && rustup update stable

Expand Down

0 comments on commit 1e28c50

Please sign in to comment.