e0ceae2490
The baseline was generated with Go 1.24 and capslock v0.3.1. Pin both in CI to ensure consistent analysis results, since different Go versions can change which capabilities capslock detects. https://claude.ai/code/session_01HwDXpKevFLhE5EfrR6JrBn
26 lines
525 B
YAML
26 lines
525 B
YAML
name: capabilities
|
|
on:
|
|
push:
|
|
branches:
|
|
- v2
|
|
pull_request:
|
|
branches:
|
|
- v2
|
|
|
|
jobs:
|
|
check:
|
|
name: check capabilities
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Setup go
|
|
uses: actions/setup-go@v6
|
|
with:
|
|
go-version: "1.24"
|
|
- name: Install capslock
|
|
run: go install github.com/google/capslock/cmd/capslock@v0.3.1
|
|
- name: Check for new capabilities
|
|
run: ./caps.sh check
|