...

Text file src/github.com/ProtonMail/go-crypto/.github/workflows/go.yml

Documentation: github.com/ProtonMail/go-crypto/.github/workflows

     1name: Go
     2
     3on:
     4  push:
     5    branches: [ main ]
     6  pull_request:
     7    branches: [ main ]
     8
     9jobs:
    10
    11  test:
    12    runs-on: ubuntu-latest
    13    steps:
    14    - uses: actions/checkout@v3
    15
    16    - name: Set up Go latest
    17      uses: actions/setup-go@v3
    18      with:
    19        go-version: ^1.18
    20
    21    - name: Short test
    22      run: go test -short -v ./...
    23
    24    - name: Randomized test suite 1
    25      run: go test -v ./... -run RandomizeFast -count=512
    26
    27    - name: Randomized test suite 2
    28      run: go test -v ./... -run RandomizeSlow -count=32
    29
    30  test-old:
    31    runs-on: ubuntu-latest
    32    steps:
    33      - uses: actions/checkout@v3
    34
    35      - name: Set up Go 1.15
    36        uses: actions/setup-go@v3
    37        with:
    38          go-version: 1.15
    39
    40      - name: Short test
    41        run: go test -short -v ./...
    42
    43      - name: Randomized test suite 1
    44        run: go test -v ./... -run RandomizeFast -count=512
    45
    46      - name: Randomized test suite 2
    47        run: go test -v ./... -run RandomizeSlow -count=32

View as plain text