File tree Expand file tree Collapse file tree 1 file changed +3
-11
lines changed
Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Original file line number Diff line number Diff line change @@ -37,22 +37,14 @@ jobs:
3737
3838 cross-build-in-docker :
3939 runs-on : ubuntu-latest
40- container :
41- image : golang:1.23.3
4240 steps :
43- # Install Git for checking out the repository, otherwise the checkout action will
44- # download the repository by REST API. This will cause go build to fail because it
45- # will do some git operations.
46- - run : |
47- apt-get update -yq
48- apt-get install -yq git
4941 - uses : actions/checkout@v4
5042 - name : Build
5143 run : |
52- go mod vendor
53- make all
44+ docker run --rm -v $PWD:/build -w /build golang:1.23.3 make all
5445 - name : Test
55- run : ./dist/linux-amd64/demo --database-url=sqlite://./test.sqlite3
46+ run : |
47+ ./dist/linux-amd64/demo --database-url=sqlite://./test.sqlite3
5648 - name : Upload Artifacts
5749 uses : actions/upload-artifact@v3
5850 with :
You can’t perform that action at this time.
0 commit comments