Added video table, role_name to get club, wrapping errors in media ha… #231
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 ./... |