Skip to content

Commit

Permalink
Add Go GitHub workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
inkel authored Nov 22, 2023
1 parent 1e68ae4 commit c66856b
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Go
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: Test
run: go test -v ./...
- name: Build
run: go build -v ./...

0 comments on commit c66856b

Please sign in to comment.