File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 :
Original file line number Diff line number Diff line change 2525
2626 # https://devenv.sh/tests/
2727 enterTest = ''
28+ just generate
2829 just test
2930 '' ;
3031
Original file line number Diff line number Diff line change 22 CGO_ENABLED=0 go build -ldflags=" -s -w" -o bin/ mangosql ./ cmd/ mangosql
33
44format :
5+ go install github.com/ golangci/ golangci-lint/ cmd/ golangci-lint@v1.60.3
56 golangci-lint run --fix ./ ...
67
78lint :
9+ go install github.com/ golangci/ golangci-lint/ cmd/ golangci-lint@v1.60.3
810 golangci-lint run ./ ...
911
1012docs :
You can’t perform that action at this time.
0 commit comments