chore: bump actions/setup-go from 4 to 5 #71
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: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
workflow_call: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: stable | |
- name: Get dependencies | |
run: go get -v -t -d ./... | |
- name: go build | |
run: go build -v | |
- name: go test | |
run: go test -test.v -race -cover ./... | |
conventional-commits: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- run: pip3 install -U Commitizen | |
# The commit hash here is that of the commit where we started using conventional commits. | |
- run: cz check --rev-range deebab92..HEAD |