chore(release): update changelog and bump examples to v1.50.2 (#3607) #1697
This file contains hidden or 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' | |
| 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@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| with: | |
| persist-credentials: false | |
| - name: Setup Go | |
| uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.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 ./... | |
| test: | |
| name: Unit Testing (i386) | |
| runs-on: ubuntu-latest | |
| env: | |
| GOARCH: 386 | |
| steps: | |
| - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| with: | |
| persist-credentials: false | |
| - name: Setup Go | |
| uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0 | |
| with: | |
| go-version: stable | |
| - name: Test (Unit) | |
| run: go test -timeout 2m ./... |