Skip to content

Commit

Permalink
Add github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
gandarez committed May 13, 2021
1 parent 35ce2a4 commit 1a483ce
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/on_push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
on: push

env:
GO_VERSION: "1.16"

jobs:

test:
name: Test
runs-on: ubuntu-latest
steps:
- name: "Checkout"
uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: ${{ env.GO_VERSION }}
- name: "Pull dependencies"
run: go mod vendor
- name: "Unit tests"
run: make test
- name: "Linter"
run: make lint

0 comments on commit 1a483ce

Please sign in to comment.