File tree Expand file tree Collapse file tree 5 files changed +18
-1
lines changed
Expand file tree Collapse file tree 5 files changed +18
-1
lines changed Original file line number Diff line number Diff line change 99 uses : actions/setup-node@v4
1010 with :
1111 node-version-file : internal/static/.nvmrc
12+ - uses : actions/setup-go@v5
1213 - run : npm install
1314 working-directory : internal/static
1415 - run : npm run build
1516 working-directory : internal/static
16- - run : ./internal/static/scripts/diff.sh
17+ - name : Check assets are up to date
18+ run : go generate && git diff --exit-code
19+ working-directory : internal/static
Original file line number Diff line number Diff line change @@ -10,6 +10,11 @@ require (
1010)
1111
1212require (
13+ github.com/gobwas/glob v0.2.3 // indirect
14+ github.com/spf13/pflag v1.0.6 // indirect
15+ github.com/timo-reymann/deterministic-zip v0.0.0-20250313142458-97cfdf725a80 // indirect
1316 golang.org/x/sys v0.26.0 // indirect
1417 golang.org/x/tools v0.26.0 // indirect
1518)
19+
20+ tool github.com/timo-reymann/deterministic-zip
Original file line number Diff line number Diff line change 1+ github.com/gobwas/glob v0.2.3 h1:A4xDbljILXROh+kObIiy5kIaPYD8e96x1tgBhUI5J+Y =
2+ github.com/gobwas/glob v0.2.3 /go.mod h1:d3Ez4x06l9bZtSvzIay5+Yzi0fmZzPgnTbPcKjJAkT8 =
13github.com/gorilla/websocket v1.5.3 h1:saDtZ6Pbx/0u+bgYQ3q96pZgCzfhKXGPqt7kZ72aNNg =
24github.com/gorilla/websocket v1.5.3 /go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE =
35github.com/rogpeppe/go-internal v1.14.1 h1:UQB4HGPB6osV0SQTLymcB4TgvyWu6ZyliaW0tI/otEQ =
46github.com/rogpeppe/go-internal v1.14.1 /go.mod h1:MaRKkUm5W0goXpeCfT7UZI6fk/L7L7so1lCWt35ZSgc =
7+ github.com/spf13/pflag v1.0.6 h1:jFzHGLGAlb3ruxLB8MhbI6A8+AQX/2eW4qeyNZXNp2o =
8+ github.com/spf13/pflag v1.0.6 /go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg =
9+ github.com/timo-reymann/deterministic-zip v0.0.0-20250313142458-97cfdf725a80 h1:k/Pt1xQRdoNf7GQTC65h6gIMX/F8K/gc+NrTeopcrl8 =
10+ github.com/timo-reymann/deterministic-zip v0.0.0-20250313142458-97cfdf725a80 /go.mod h1:wO52XptWj/POkN6yZz1uqxkDsqjf9NVbbSj5xCk9W0U =
511golang.org/x/sys v0.26.0 h1:KHjCJyddX0LoSTb3J+vWpupP9p0oznkqVk/IfjymZbo =
612golang.org/x/sys v0.26.0 /go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA =
713golang.org/x/tools v0.26.0 h1:v/60pFQmzmT9ExmjDv2gGIfi3OqfKoEP6I5+umXlbnQ =
Original file line number Diff line number Diff line change 1+ package static
2+
3+ //go:generate go tool deterministic-zip -v -r dist.zip dist
You can’t perform that action at this time.
0 commit comments