Skip to content

Commit

Permalink
Automate Ci dep versions and enable caching
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacalz committed Jan 6, 2024
1 parent b49d90c commit 9a8bb3b
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/license_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ jobs:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: WillAbides/setup-go[email protected]
- uses: actions/setup-go@v4
with:
go-version: '1.21.x'
go-version: 'stable'

- name: Install lian
run: go install lucor.dev/lian@latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mobile_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
fail-fast: false
matrix:
go-version: ['1.19.x', '1.21.x']
go-version: ['1.19.x', 'stable']

steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/platform_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
fail-fast: false
matrix:
go-version: ['1.19.x', '1.21.x']
go-version: ['1.19.x', 'stable']
os: [ubuntu-latest, macos-latest]
include:
- os: ubuntu-latest
Expand All @@ -21,7 +21,7 @@ jobs:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: WillAbides/setup-go[email protected]
- uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/static_analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: WillAbides/setup-go[email protected]
- uses: actions/setup-go@v4
with:
go-version: '1.21.x'
go-version: 'stable'

- name: Get dependencies
run: >-
Expand All @@ -33,7 +33,7 @@ jobs:
run: |
go install golang.org/x/tools/cmd/goimports@latest
go install github.com/fzipp/gocyclo/cmd/gocyclo@latest
go install honnef.co/go/tools/cmd/staticcheck@v0.4.6
go install honnef.co/go/tools/cmd/staticcheck@latest
go install github.com/mattn/goveralls@latest
- name: Vet
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/web_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: WillAbides/setup-go[email protected]
- uses: actions/setup-go@v4
with:
go-version: '1.19.x'

Expand Down

0 comments on commit 9a8bb3b

Please sign in to comment.