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 Jun 6, 2024
1 parent a50a595 commit a1bede2
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Go
on: [push]
jobs:
go-test-vet:
strategy:
matrix:
go-version: ['1.22', '1.21']
runs-on: ubuntu-latest
name: go test/vet
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
check-latest: true
- run: go test -v -race ./...
- run: go vet ./...
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 a1bede2

Please sign in to comment.