...

Text file src/github.com/xdg-go/pbkdf2/.github/workflows/test.yml

Documentation: github.com/xdg-go/pbkdf2/.github/workflows

     1on: [push, pull_request]
     2name: CI
     3jobs:
     4  test:
     5    strategy:
     6      matrix:
     7        go-version: [1.9.x, 1.10.x, 1.11.x, 1.12.x, 1.13.x, 1.14.x, 1.15.x, 1.16.x]
     8        os: [ubuntu-latest]
     9    runs-on: ${{ matrix.os }}
    10    steps:
    11    - name: Install Go
    12      uses: actions/setup-go@v2
    13      with:
    14        go-version: ${{ matrix.go-version }}
    15    - name: Checkout code
    16      uses: actions/checkout@v2
    17    - uses: actions/cache@v2
    18      with:
    19        # In order:
    20        # * Module download cache
    21        # * Build cache (Linux)
    22        path: |
    23          ~/go/pkg/mod
    24          ~/.cache/go-build
    25        key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
    26        restore-keys: |
    27          ${{ runner.os }}-go-
    28    - name: Test
    29      run: go test -race ./...

View as plain text