bump gopkg.in/yaml.v3, remove gopkg.in/yaml.v2 #48
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: CI | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go 1.18 | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.18 | |
- uses: actions/checkout@v3 | |
- name: Installer linter (golangci) | |
run: | | |
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v${GOLANGCI_LINT_VERSION} | |
env: | |
GOLANGCI_LINT_VERSION: '1.46.2' | |
- name: Get dependencies | |
run: go mod vendor | |
env: | |
GO111MODULE: 'on' | |
- name: Test | |
run: go test -race ./... | |
- name: Lint | |
run: golangci-lint run . |