...

Text file src/github.com/jellydator/ttlcache/v3/.github/workflows/go.yml

Documentation: github.com/jellydator/ttlcache/v3/.github/workflows

     1name: Go
     2on: [push, pull_request]
     3jobs:
     4  test:
     5    runs-on: ubuntu-latest
     6    steps:
     7    - name: Set up Go
     8      uses: actions/setup-go@v3
     9      with:
    10        go-version: ^1.18
    11    - name: Checkout code
    12      uses: actions/checkout@v3
    13    - name: Run tests
    14      run: go test -race -shuffle on -timeout 1m -coverprofile=covprofile ./...
    15    - name: Send coverage 
    16      uses: shogo82148/actions-goveralls@v1
    17      with:
    18        path-to-profile: covprofile 

View as plain text