Skip to content

Commit

Permalink
Go tests GitHub Actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
buth committed May 31, 2024
1 parent a50a595 commit 339002d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: test
run-name: Go tests
on: [push]
jobs:
test:
strategy:
matrix:
go-version: ['1.22', '1.21']
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
check-latest: true
- run: go test -v -race ./...
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/buth/diff

go 1.19
go 1.21.0

0 comments on commit 339002d

Please sign in to comment.