Skip to content

Use avatar component in user links #402

Use avatar component in user links

Use avatar component in user links #402

Workflow file for this run

name: "Lint"
on:
push:
branches:
- main
pull_request:
jobs:
lint-go:
name: Lint Go
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: "1.21"
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.53
args: --timeout=5m
check-sqlc:
name: Check sqlc generation
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: "1.21"
cache: false
- name: Install sqlc
run: go install github.com/kyleconroy/sqlc/cmd/sqlc@v1.19.0
- run: sqlc generate
- name: Check that sqlc queries are up-to-date
run: git diff --exit-code