Move lint to the end
This commit is contained in:
parent
b121b75b30
commit
6415bb3e74
@ -23,15 +23,6 @@ jobs:
|
|||||||
go mod download
|
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
|
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
|
- name: Validate SQL schema
|
||||||
uses: playfulpachyderm/sqlite-lint@v0.0.3
|
uses: playfulpachyderm/sqlite-lint@v0.0.3
|
||||||
with:
|
with:
|
||||||
@ -42,6 +33,15 @@ jobs:
|
|||||||
mkdir -p sample_data/data
|
mkdir -p sample_data/data
|
||||||
go test ./...
|
go test ./...
|
||||||
|
|
||||||
|
- name: Lint
|
||||||
|
run: |
|
||||||
|
pwd
|
||||||
|
go get ./...
|
||||||
|
env
|
||||||
|
which go
|
||||||
|
go env
|
||||||
|
golangci-lint run
|
||||||
|
|
||||||
release:
|
release:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: build # Only run if build is successful
|
needs: build # Only run if build is successful
|
||||||
|
Loading…
x
Reference in New Issue
Block a user