Skip to content

Merge pull request #79 from coreruleset/renovate/all-minor-patch #207

Merge pull request #79 from coreruleset/renovate/all-minor-patch

Merge pull request #79 from coreruleset/renovate/all-minor-patch #207

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Go
on:
push:
branches: [ "main" ]
paths:
- "**/*.go"
- "**/*_test.go"
- ".github/**"
- "g4/**"
- "magefile.go"
pull_request:
branches: [ "main" ]
paths:
- "**/*.go"
- "**/*_test.go"
- ".github/**"
- "g4/**"
- "magefile.go"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- name: Set up Go
uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6
with:
go-version: '1.25'
- name: Build
run: |
go run mage.go generate
- name: Test
run: go test -v ./...