Skip to content

chore: bump minimum Go version to 1.23.0 #436

chore: bump minimum Go version to 1.23.0

chore: bump minimum Go version to 1.23.0 #436

Workflow file for this run

name: i386
on:
merge_group:
push:
branches:
- main
paths-ignore:
- '**/*.md'
pull_request:
branches:
- "**"
paths-ignore:
- '**/*.md'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
permissions:
contents: read # for actions/checkout to fetch code
env:
# Use the Go toolchain installed by setup-go
GOTOOLCHAIN: local
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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- name: Setup Go
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
with:
go-version: stable
- 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 ./...