Bump gopkg.in/yaml.v3 from 3.0.0-20220512140231-539c8e751b99 to 3.0.0 #7
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: Run tests and linter | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: '^1.18.x' | |
- name: Install dependencies | |
run: go mod vendor | |
- name: Run tests | |
run: go test -race -cover ./... | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: '^1.18.x' | |
- name: Install dependencies | |
run: go mod vendor | |
- uses: golangci/golangci-lint-action@v3 | |
with: | |
version: v1.46 |