Update module github.com/asaskevich/govalidator to v0.0.0-20230301143203-a9d515a09cc2 - autoclosed #170
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: 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 |