Skip to content

Bump gopkg.in/yaml.v3 from 3.0.0-20200313102051-9f266ea9e77c to 3.0.0 in the go_modules group across 1 directory #154

Bump gopkg.in/yaml.v3 from 3.0.0-20200313102051-9f266ea9e77c to 3.0.0 in the go_modules group across 1 directory

Bump gopkg.in/yaml.v3 from 3.0.0-20200313102051-9f266ea9e77c to 3.0.0 in the go_modules group across 1 directory #154

Workflow file for this run

name: Go
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
env:
GO_VERSION: "1.18"
strategy:
matrix:
goVersion:
- "1.16" # oldest supported
- "1.18" # first with generic
- "oldstable" # prev go version
- "stable" # latest stable
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.goVersion }}
- name: Build
run: go build -v ./...
- name: Test
run: go test ./...
- name: Test with coverage profiler
if: ${{ matrix.goVersion == env.GO_VERSION }}
run: go test -test.count=10 -race -covermode atomic -coverprofile=covprofile.out ./...
- name: golangci-lint
if: ${{ matrix.goVersion == env.GO_VERSION }}
uses: golangci/golangci-lint-action@v2
with:
version: latest
- name: Coveralls install goveralls
if: ${{ matrix.goVersion == env.GO_VERSION }}
run: go install github.com/mattn/goveralls@latest
- name: Coveralls push
if: ${{ matrix.goVersion == env.GO_VERSION }}
run: goveralls -coverprofile=covprofile.out -service=github
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}