...

Text file src/github.com/cloudwego/base64x/.github/workflows/tests.yml

Documentation: github.com/cloudwego/base64x/.github/workflows

     1name: Tests
     2
     3on: [ push, pull_request ]
     4
     5jobs:
     6  unit-benchmark-test:
     7    strategy:
     8      matrix:
     9        go: [ "1.18", "1.19", "1.20" ]
    10        os: [ X64 ]
    11    runs-on: ${{ matrix.os }}
    12    steps:
    13      - uses: actions/checkout@v3
    14
    15      - name: Set up Go
    16        uses: actions/setup-go@v3
    17        with:
    18          go-version: ${{ matrix.go }}
    19
    20      - name: Unit Test
    21        run: go test -race -covermode=atomic -coverprofile=coverage.out ./...
    22
    23      - name: Benchmark
    24        run: go test -bench=. -benchmem -run=none ./...

View as plain text