Skip to content

Commit

Permalink
Fix Github Actions Windows test issues (#278)
Browse files Browse the repository at this point in the history
Fixed Github Actions tests on Windows, updated all Github actions dependencies to latest versions, and bumped Go version to 1.20
  • Loading branch information
Xemdo authored Sep 23, 2023
1 parent 323c804 commit 103544e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
-
name: Build with xgo
uses: crazy-max/ghaction-xgo@v2
uses: crazy-max/ghaction-xgo@v3
with:
dest: build
targets: windows/amd64,linux/amd64,darwin/amd64
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ jobs:
test:
strategy:
matrix:
go-version: [1.18.x]
go-version: [1.20.x]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Test
run: go test ./... -timeout=120s
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/twitchdev/twitch-cli

go 1.18
go 1.20

require (
github.com/TylerBrock/colorjson v0.0.0-20200706003622-8a50f05110d2
Expand Down

0 comments on commit 103544e

Please sign in to comment.