Skip to content

Merge pull request #23 from STUD-IT-team/rolevents #292

Merge pull request #23 from STUD-IT-team/rolevents

Merge pull request #23 from STUD-IT-team/rolevents #292

Workflow file for this run

name: CI
on: push
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install go
uses: actions/setup-go@v4
with:
go-version: '1.21.1'
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.54
args: --timeout=10m --config=golangci.yml --issues-exit-code=0
test:
needs: [lint]
runs-on: ubuntu-latest
steps:
- name: Install go
uses: actions/setup-go@v4
with:
go-version: '1.21.1'
- uses: actions/checkout@v3
- name: Test
working-directory: ./internal
run: go test -v -race -p=1 ./...