Skip to content

Merge pull request #151 from g4s8/dependabot/go_modules/github.com/ur… #247

Merge pull request #151 from g4s8/dependabot/go_modules/github.com/ur…

Merge pull request #151 from g4s8/dependabot/go_modules/github.com/ur… #247

Workflow file for this run

name: CI
"on":
push:
branches: ["master"]
pull_request:
branches: ["master"]
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '1.20'
- uses: actions/cache@v2
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Build
run: make build
- name: test
run: make test
- name: Test race
run: make test-race
lint:
needs: check
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
with:
go-version: '1.20'
- uses: actions/checkout@v3
- uses: golangci/golangci-lint-action@v3