Switch order of test and lint in CI build

This commit is contained in:
Alessio 2024-12-23 19:16:48 -08:00
parent 4e2dfef3cb
commit c428c95a4c

View File

@ -3,11 +3,6 @@
# is persistent between build steps. # is persistent between build steps.
steps: steps:
lint:
image: offline-twitter/go
commands:
- golangci-lint run
test: test:
image: offline-twitter/go image: offline-twitter/go
commands: commands:
@ -15,6 +10,11 @@ steps:
- sample_data/init_data.sh - sample_data/init_data.sh
- go test -bench=. -cover ./... - go test -bench=. -cover ./...
lint:
image: offline-twitter/go
commands:
- golangci-lint run
integration_test: integration_test:
image: offline-twitter/go image: offline-twitter/go
secrets: secrets: