Skip to content

Merge pull request #512 from step-security-bot/chore/GHA-020055-steps… #696

Merge pull request #512 from step-security-bot/chore/GHA-020055-steps…

Merge pull request #512 from step-security-bot/chore/GHA-020055-steps… #696

Workflow file for this run

# 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: s390x-qemu
on:
push:
branches: [ "develop", "main" ]
pull_request:
branches: [ "develop", "main" ]
permissions:
contents: read
jobs:
test:
strategy:
matrix:
go-version: [1.25.x]
arch: [s390x]
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 internal
run: go test -v ./internal/...
env:
GOARCH: ${{ matrix.arch }}
- name: Test Cipher
run: go test -v -short ./cipher/...
env:
GOARCH: ${{ matrix.arch }}
# - name: Test
# run: go test -v -short ./...
# env:
# GODEBUG: x509sha1=1
# GOARCH: ${{ matrix.arch }}