Skip to content

Commit 9d5ba50

Browse files
Jacalzandydotxyz
authored andcommitted
Upgrade CI to maintain itself thus unbreak CI
1 parent 3228f6c commit 9d5ba50

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

.github/workflows/platform_tests.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,17 @@ jobs:
99
strategy:
1010
fail-fast: false
1111
matrix:
12-
go-version: ['1.19.x', 'stable']
12+
go-version: ['', 'stable']
1313
os: [ubuntu-latest, windows-latest, macos-latest]
1414

1515
steps:
1616
- uses: actions/checkout@v4
1717
with:
1818
persist-credentials: false
19-
- uses: WillAbides/setup-go-faster@v1
19+
- uses: actions/setup-go@v5
2020
with:
2121
go-version: ${{ matrix.go-version }}
22+
go-version-file: 'go.mod'
2223

2324
- name: Get dependencies
2425
run: >-
@@ -31,8 +32,7 @@ jobs:
3132
libx11-dev
3233
libxkbcommon-dev
3334
xorg-dev
34-
xvfb
3535
if: ${{ runner.os == 'Linux' }}
3636

3737
- name: Tests
38-
run: go test "-test.benchtime" 10ms -tags ci ./...
38+
run: go test -tags ci ./...

.github/workflows/static_analysis.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- uses: actions/checkout@v4
1414
with:
1515
persist-credentials: false
16-
- uses: WillAbides/setup-go-faster@v1
16+
- uses: actions/setup-go@v5
1717
with:
1818
go-version: 'stable'
1919

@@ -27,13 +27,12 @@ jobs:
2727
libgles2-mesa-dev
2828
libx11-dev
2929
xorg-dev
30-
xvfb
3130
3231
- name: Install analysis tools
3332
run: |
3433
go install golang.org/x/tools/cmd/goimports@latest
3534
go install github.com/fzipp/gocyclo/cmd/gocyclo@latest
36-
go install honnef.co/go/tools/cmd/staticcheck@v0.5.1
35+
go install honnef.co/go/tools/cmd/staticcheck@latest
3736
go install github.com/mattn/goveralls@latest
3837
3938
- name: Vet

0 commit comments

Comments
 (0)