chore(ci): bump github/codeql-action from 3.26.0 to 3.27.0 (#3004) #192
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: i386 | |
on: | |
merge_group: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- '**/*.md' | |
pull_request: | |
branches: | |
- "**" | |
paths-ignore: | |
- '**/*.md' | |
permissions: | |
contents: read # for actions/checkout to fetch code | |
jobs: | |
atomicalign: | |
permissions: | |
contents: read # for actions/checkout to fetch code | |
pull-requests: read # for golangci/golangci-lint-action to fetch pull requests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
with: | |
persist-credentials: false | |
- name: Setup Go | |
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 | |
with: | |
go-version: 1.23.x | |
- name: staticcheck | |
env: | |
GOARCH: 386 | |
GOFLAGS: -tags=functional | |
run: | | |
git clone --depth=1 https://github.com/dominikh/go-tools /tmp/go-tools | |
( cd /tmp/go-tools/cmd/staticcheck && go build -o /tmp/staticcheck ) | |
/tmp/staticcheck -checks SA1027 ./... |