Skip to content

Commit

Permalink
Make workflows update themselves as much as possible
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacalz committed Feb 23, 2024
1 parent 6b7246b commit 8fcc761
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 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-faster@v1.13.0
- uses: WillAbides/setup-go-faster@v1
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
8 changes: 4 additions & 4 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-faster@v1.13.0
- uses: WillAbides/setup-go-faster@v1
with:
go-version: ${{ matrix.go-version }}

Expand Down Expand Up @@ -51,12 +51,12 @@ jobs:
strategy:
fail-fast: false
matrix:
go-version: ['1.20.x', '1.21.x']
go-version: ['1.20.x', 'stable']
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: WillAbides/setup-go-faster@v1.13.0
- uses: WillAbides/setup-go-faster@v1
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-faster@v1.13.0
- uses: WillAbides/setup-go-faster@v1
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
4 changes: 2 additions & 2 deletions .github/workflows/web_tests.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-faster@v1.13.0
- uses: WillAbides/setup-go-faster@v1
with:
go-version: '1.19.x'
go-version-file: 'go.mod'

- name: Get dependencies
run: sudo apt-get update && sudo apt-get install gcc libgl1-mesa-dev libegl1-mesa-dev libgles2-mesa-dev libx11-dev xorg-dev
Expand Down

0 comments on commit 8fcc761

Please sign in to comment.