Merge pull request #420 from VictorAvelar/dependabot/go_modules/golan… #750
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: Golang testing | |
on: | |
push: | |
branches: | |
- master | |
paths-ignore: | |
- "**.md" | |
- "*.yml" | |
- "Makefile" | |
- "docs/*.md" | |
- ".gitignore" | |
- "LICENSE" | |
- ".github/*.yml" | |
- ".github/ISSUE_TEMPLATE/*.md" | |
- ".github/*.md" | |
- ".github/workflows/release.yml" | |
pull_request: | |
paths-ignore: | |
- "**.md" | |
- "*.yml" | |
- "Makefile" | |
- "docs/*.md" | |
- ".gitignore" | |
- "LICENSE" | |
- ".github/*.yml" | |
- ".github/ISSUE_TEMPLATE/*.md" | |
- ".github/*.md" | |
- ".github/workflows/release.yml" | |
jobs: | |
testing: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
strategy: | |
matrix: | |
go: [1.20.x, 1.21.x, 1.22.x, 1.23.x] | |
name: Go ${{ matrix.go }} check | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed | |
with: | |
go-version: ${{ matrix.go }} | |
- run: go test -failfast ./... |