github.com/emmansun/gmsm@v0.29.1/.github/workflows/macos.yml (about)

     1  name: macOs
     2  
     3  on:
     4    push:
     5      branches: [ "main" ]
     6    pull_request:
     7      branches: [ "main" ]
     8  
     9  jobs:
    10  
    11    build:
    12      runs-on: macos-latest
    13      steps:
    14      - uses: actions/checkout@v4
    15  
    16      - name: Set up Go
    17        uses: actions/setup-go@v5
    18        with:
    19          go-version: 1.22
    20  
    21      - name: Build
    22        run: go build -v ./...
    23  
    24      - name: Test
    25        run: go test -v ./...
    26        env:
    27          GODEBUG: x509sha1=1
    28          GOARCH: ${{ matrix.arch }}