Skip to content

Update anothrNick/github-tag-action action to v1.71.0 #78

Update anothrNick/github-tag-action action to v1.71.0

Update anothrNick/github-tag-action action to v1.71.0 #78

Workflow file for this run

name: test
on:
pull_request:
push:
branches:
- master
jobs:
lint:
if: "!contains(toJSON(github.event.commits.*.message), '[ci skip]')"
strategy:
matrix:
go-version: [1.13.x, 1.14.x, 1.15.x, 1.16.x]
platform: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
- name: Install Linters
run: "curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin"
- name: Lint
run: make ci-lint
test:
if: "!contains(toJSON(github.event.commits.*.message), '[ci skip]')"
strategy:
matrix:
go-version: [1.13.x, 1.14.x, 1.15.x, 1.16.x]
platform: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
- name: Test
run: make ci-test
- name: Send coverage
uses: shogo82148/actions-goveralls@v1
with:
github-token: ${{ secrets.github_token }}
path-to-profile: profile.cov