Skip to content

Commit

Permalink
chore(ci): add 32-bit alignment check
Browse files Browse the repository at this point in the history
Signed-off-by: Dominic Evans <dominic.evans@uk.ibm.com>
  • Loading branch information
dnwe committed Apr 25, 2024
1 parent 4ad3504 commit 07b6875
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/i386.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
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
name: Atomic Alignment Check
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
persist-credentials: false
- name: Setup Go
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
- name: staticcheck
env:
GOARCH: 386
GOFLAGS: -tags=functional
run: go install honnef.co/go/tools/cmd/staticcheck@latest && file $(which staticcheck) && staticcheck -checks SA1027 ./...

0 comments on commit 07b6875

Please sign in to comment.