Merge pull request #20 from Maschga/main #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Push to repo | |
on: [push] | |
jobs: | |
build-test-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v2 | |
- name: install golang | |
uses: actions/setup-go@v2 | |
with: | |
go-version: '^1.16' | |
- name: build | |
run: go build | |
- name: test | |
run: go test | |
- name: lint | |
uses: golangci/golangci-lint-action@v2 | |
with: | |
version: latest | |
skip-go-installation: true |