Merge pull request #186 from coreruleset/renovate/alpine-3.20.3 #506
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: Regression Tests | |
# default token permissions: none | |
permissions: {} | |
on: | |
push: | |
branches: | |
- main | |
# Currently, there doesn't appear to be a simple solution for | |
# having required checks with ignored paths (the checks will | |
# never run and so PRs cannot be merged). | |
# paths-ignore: | |
# - "**/*.md" | |
# - "LICENSE" | |
pull_request: | |
# paths-ignore: | |
# - "**/*.md" | |
# - "LICENSE" | |
jobs: | |
test: | |
strategy: | |
matrix: | |
go-version: [1.22.x] | |
os: [ubuntu-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Install Go | |
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0 | |
with: | |
go-version: ${{ matrix.go-version }} | |
cache: true | |
- name: Tests and coverage | |
run: go run mage.go coverage |