Skip to content

Commit 0aae6ca

Browse files
committed
revert to devenv test
1 parent b9072cb commit 0aae6ca

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/pull-request.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,8 @@ jobs:
3030
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
3131
- name: Install devenv.sh
3232
run: nix profile install nixpkgs#devenv
33-
- name: Run Test
34-
shell: devenv shell bash -- -e {0}
35-
run: |
36-
just generate
37-
just test
33+
- name: Build the devenv shell and run test
34+
run: devenv test
3835
- name: Archive code coverage results
3936
uses: actions/upload-artifact@v4
4037
with:

devenv.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ in {
2525

2626
# https://devenv.sh/tests/
2727
enterTest = ''
28+
just generate
2829
just test
2930
'';
3031

justfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@ build:
22
CGO_ENABLED=0 go build -ldflags="-s -w" -o bin/mangosql ./cmd/mangosql
33

44
format:
5+
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.60.3
56
golangci-lint run --fix ./...
67

78
lint:
9+
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.60.3
810
golangci-lint run ./...
911

1012
docs:

0 commit comments

Comments
 (0)