Move lint to the end
Some checks failed
Build / build (push) Failing after 2m31s
Build / release (push) Has been skipped

This commit is contained in:
Alessio 2025-02-19 19:42:36 -08:00
parent b121b75b30
commit 6415bb3e74

View File

@ -23,15 +23,6 @@ jobs:
go mod download
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.59.1
- name: Lint
run: |
pwd
go get ./...
env
which go
go env
golangci-lint run
- name: Validate SQL schema
uses: playfulpachyderm/sqlite-lint@v0.0.3
with:
@ -42,6 +33,15 @@ jobs:
mkdir -p sample_data/data
go test ./...
- name: Lint
run: |
pwd
go get ./...
env
which go
go env
golangci-lint run
release:
runs-on: ubuntu-latest
needs: build # Only run if build is successful