Merge branch 'bump-dependencies' #2
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: Continuous Integration | |
on: push | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- run: env | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Setup go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.19.13' | |
- name: Install staticcheck | |
run: go install honnef.co/go/tools/cmd/[email protected] | |
- name: Print staticcheck version | |
run: staticcheck -version | |
- name: Run go build | |
run: make mullvad-upgrade-tunnel | |
- name: Run go vet | |
run: make vet | |
- name: Run go fmt | |
run: if [ "$(go fmt | wc -l)" -ne 0 ]; then exit 1; fi |