fix: list fixes and ci improvement
PR Checks / lint-test-and-build (pull_request) Successful in 3m6s
PR Checks / lint-test-and-build (pull_request) Successful in 3m6s
This commit is contained in:
@@ -10,6 +10,9 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: golang:1.27-bookworm
|
||||
volumes:
|
||||
- go-mod-cache:/go/pkg/mod
|
||||
- go-build-cache:/root/.cache/go-build
|
||||
steps:
|
||||
- name: Install system dependencies
|
||||
run: |
|
||||
@@ -20,9 +23,6 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Lint
|
||||
run: make lint
|
||||
|
||||
- name: Check formatting
|
||||
run: |
|
||||
unformatted=$(gofmt -l .)
|
||||
@@ -32,6 +32,12 @@ jobs:
|
||||
exit 1
|
||||
fi
|
||||
|
||||
- name: Download modules
|
||||
run: go mod download
|
||||
|
||||
- name: Lint
|
||||
run: make lint
|
||||
|
||||
- name: Test
|
||||
run: make test
|
||||
|
||||
|
||||
Reference in New Issue
Block a user