Skip to content

Commit

Permalink
feat(ci): initial addition of github action
Browse files Browse the repository at this point in the history
  • Loading branch information
bostrt committed Jun 30, 2022
1 parent f04616f commit 1e3e00f
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/go.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: "Go"

on:
pull_request:
branches:
- main
- mvp
- release-*

jobs:
static:
name: "Run Continuous Integration"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17
- name: Verify bindata was generated
run: |
go install github.com/go-bindata/go-bindata/go-bindata@latest
set -xe
./hack/update-generated-bindata.sh
set +ex
git diff --exit-code
- name: Run unit tests
run: make test
- name: Run go vet
run: make vet
- name: Run static code analysis
uses: dominikh/staticcheck-action@v1.2.0
with:
version: "2022.1.1"

0 comments on commit 1e3e00f

Please sign in to comment.