Skip to content

build(deps): bump github/codeql-action from 4.32.4 to 4.32.5 #861

build(deps): bump github/codeql-action from 4.32.4 to 4.32.5

build(deps): bump github/codeql-action from 4.32.4 to 4.32.5 #861

Workflow file for this run

on: [push, pull_request]
name: Test
jobs:
test:
strategy:
fail-fast: false
matrix:
go-version: [1.25.x, 1.26.x]
venv: [windows-2022, windows-2025, windows-11-arm]
fips: [1, 0]
runs-on: ${{ matrix.venv }}
steps:
- name: Install Go
uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set FIPS mode
run: REG ADD HKLM\SYSTEM\CurrentControlSet\Control\Lsa\FipsAlgorithmPolicy /v Enabled /t REG_DWORD /f /d ${{ matrix.fips }}
- name: Run Test - Short
run: go test -v -gcflags=all=-d=checkptr -count 1 ./...
env:
GO_TEST_FIPS: ${{ matrix.fips }}
- name: Run Test - Long
# Run each test 10 times so the garbage collector chimes in
# and exercises the multiple finalizers we use.
# This can detect use-after-free and double-free issues.
run: go test -v -gcflags=all=-d=checkptr -count 10 -short ./...
env:
GO_TEST_FIPS: ${{ matrix.fips }}
conclusion:
needs:
- test
runs-on: ubuntu-latest
if: always()
steps:
- name: Result
run: |
if [[ "${{ contains(needs.*.result, 'failure') }}" == "true" || "${{ contains(needs.*.result, 'cancelled') }}" == "true" ]]; then
echo "One or more jobs failed or were cancelled."
exit 1
fi
echo "All jobs passed."