github.com/DeltaLaboratory/entcache@v0.1.1/.github/workflow/ci.yml (about)

     1  name: Continuous Integration
     2  on: [push, pull_request]
     3  
     4  jobs:
     5    lint:
     6      runs-on: ubuntu-latest
     7      steps:
     8        - name: Checkout
     9          uses: actions/checkout@v4
    10        - uses: actions/setup-go@v4
    11          with:
    12            go-version: 'stable'
    13        - name: Run linters
    14          uses: golangci/golangci-lint-action@v2.5.2
    15          with:
    16            version: v1.41.1
    17            args: --timeout 3m
    18    test:
    19      runs-on: ubuntu-latest
    20      steps:
    21        - name: Checkout
    22          uses: actions/checkout@v4
    23        - uses: actions/setup-go@v4
    24          with:
    25            go-version: 'stable'
    26        - name: Run tests
    27          run: go test -race ./...