Skip to content

Merge pull request #7 from coreruleset/renovate/major-5-all-major #17

Merge pull request #7 from coreruleset/renovate/major-5-all-major

Merge pull request #7 from coreruleset/renovate/major-5-all-major #17

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" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Set up Go
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5
with:
go-version: '1.20'
- name: Build
run: |
go run mage.go generate
- name: Test
run: go test -v ./...