Merge pull request #512 from step-security-bot/chore/GHA-020055-steps… #107
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
| # This workflow will build a golang project | |
| # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go | |
| name: ppc64le-qemu | |
| on: | |
| push: | |
| branches: [ "develop", "main" ] | |
| pull_request: | |
| branches: [ "develop", "main" ] | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| strategy: | |
| matrix: | |
| go-version: [1.25.x] | |
| arch: [ppc64le] | |
| ppc64: [power8, power9] | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Harden the runner (Audit all outbound calls) | |
| uses: step-security/harden-runner@9af89fc71515a100421586dfdb3dc9c984fbf411 # v2.19.4 | |
| with: | |
| egress-policy: audit | |
| - name: Set up Go | |
| uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0 | |
| with: | |
| go-version: ${{ matrix.go-version }} | |
| - name: Set up QEMU | |
| uses: docker/setup-qemu-action@06116385d9baf250c9f4dcb4858b16962ea869c3 # v4.1.0 | |
| - name: Check out code | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Test ML-KEM | |
| run: go test -v -short ./mlkem/... | |
| env: | |
| GOARCH: ${{ matrix.arch }} | |
| GOPPC64: ${{ matrix.ppc64 }} | |
| - name: Test internal | |
| run: go test -v ./internal/... | |
| env: | |
| GOARCH: ${{ matrix.arch }} | |
| GOPPC64: ${{ matrix.ppc64 }} | |
| - name: Test Cipher | |
| run: go test -v -short ./cipher/... | |
| env: | |
| GOARCH: ${{ matrix.arch }} | |
| GOPPC64: ${{ matrix.ppc64 }} | |