mirror of
https://github.com/emmansun/gmsm.git
synced 2025-10-14 15:20:45 +08:00
Merge branch 'main' into develop
# Conflicts: # .github/workflows/codeql-analysis.yml # .github/workflows/scorecard.yml # .github/workflows/test_riscv64.yaml # cipher/gxm.go # cipher/mur.go
This commit is contained in:
commit
0d39224367
44
.github/workflows/test_riscv64.yaml
vendored
44
.github/workflows/test_riscv64.yaml
vendored
@ -1,44 +0,0 @@
|
|||||||
# 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: riscv64-qemu
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [ "develop", "main" ]
|
|
||||||
pull_request:
|
|
||||||
branches: [ "develop", "main" ]
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
|
|
||||||
test:
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
go-version: [1.23.x]
|
|
||||||
arch: [riscv64]
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Harden the runner (Audit all outbound calls)
|
|
||||||
uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1
|
|
||||||
with:
|
|
||||||
egress-policy: audit
|
|
||||||
|
|
||||||
- name: Set up Go
|
|
||||||
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
|
|
||||||
with:
|
|
||||||
go-version: ${{ matrix.go-version }}
|
|
||||||
|
|
||||||
- name: Set up QEMU
|
|
||||||
uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3.6.0
|
|
||||||
|
|
||||||
- name: Check out code
|
|
||||||
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
|
||||||
|
|
||||||
- name: Test
|
|
||||||
run: go test -v -short ./internal/...
|
|
||||||
env:
|
|
||||||
GODEBUG: x509sha1=1
|
|
||||||
GOARCH: ${{ matrix.arch }}
|
|
Loading…
x
Reference in New Issue
Block a user