Fix vulnerabilities #38
Workflow file for this run
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: Go Tests | |
on: | |
pull_request: | |
jobs: | |
code-quality: | |
name: Code Quality | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/[email protected] | |
- name: Install Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: "1.19" | |
- name: go fmt | |
run: make fmt | |
- name: go vet | |
run: make vet | |
- name: golangci-lint | |
run: make lint | |
tests: | |
name: Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out Code | |
uses: actions/[email protected] | |
- name: Install Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: "1.19" | |
- name: Run tests | |
run: make test | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out Code | |
uses: actions/[email protected] | |
- name: Install Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: "1.19" | |
- name: Try build | |
run: make |