Skip to content

Commit

Permalink
adding go.yaml github workflow action
Browse files Browse the repository at this point in the history
  • Loading branch information
mgb committed Jan 27, 2023
1 parent 765bc73 commit 8f45963
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/go.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Build and test Go
on: [push, pull_request]

jobs:
build:
name: Build and Test
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 'stable'

- name: Check out source code
uses: actions/checkout@v3

- name: Build
run: go build -v ./...

- name: Test
run: go test -v ./...

0 comments on commit 8f45963

Please sign in to comment.