File tree Expand file tree Collapse file tree 7 files changed +21
-13
lines changed
Expand file tree Collapse file tree 7 files changed +21
-13
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ toolchain : go1.24.7
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ concurrency:
1212
1313# Single source of truth for tool versions
1414env :
15- GO_VERSION : ' 1.25 '
15+ GO_VERSION : ' 1.24.7 '
1616
1717jobs :
1818 dis-redirect-proxy-audit :
@@ -25,12 +25,10 @@ jobs:
2525 with :
2626 go-version : ${{ env.GO_VERSION }}
2727 cache : true
28- - name : Generate Go Module List
29- run : go list -json -m all > go.list
30- - name : Run audit check with Nancy
31- uses : sonatype-nexus-community/nancy-github-action@main
32- with :
33- nancyVersion : " v1.0.48"
28+ - name : Install dis-vulncheck
29+ run : go install github.com/ONSdigital/dis-vulncheck@latest
30+ - name : Run dis-vulncheck
31+ run : make audit
3432
3533 dis-redirect-proxy-build :
3634 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 1- FROM golang:1.25 AS build
1+ FROM golang:1.24 AS build
22
33ENV GOCACHE=/go/.go/cache GOPATH=/go/.go/path TZ=Europe/London
44
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ all: delimiter-AUDIT audit delimiter-LINTERS lint delimiter-UNIT-TESTS test deli
1717
1818.PHONY : audit
1919audit : # # Runs checks for security vulnerabilities on dependencies (including transient ones)
20- go list -json -m all | nancy sleuth
20+ dis-vulncheck
2121
2222.PHONY : build
2323build : # # Builds binary of application code and stores in bin directory as dis-redirect-proxy
Original file line number Diff line number Diff line change @@ -11,6 +11,14 @@ A Go Service to redirect legacy URLs requested by users
1111
1212* No further dependencies other than those defined in ` go.mod `
1313
14+ ### Tools
15+
16+ To run some of our tests you will need additional tooling:
17+
18+ #### Audit
19+
20+ We use ` dis-vulncheck ` for auditing, which you will [ need to install] ( https://github.com/ONSdigital/dis-vulncheck ) .
21+
1422### Configuration
1523
1624| Environment variable | Default | Description |
Original file line number Diff line number Diff line change 11module github.com/ONSdigital/dis-redirect-proxy
22
3- go 1.25
3+ go 1.24.0
44
55require (
66 github.com/ONSdigital/dis-redis v0.3.0
@@ -37,7 +37,7 @@ require (
3737 github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
3838 github.com/fatih/color v1.18.0 // indirect
3939 github.com/felixge/httpsnoop v1.0.4 // indirect
40- github.com/go-json-experiment/json v0.0.0-20250910080747-cc2cfa0554c3 // indirect
40+ github.com/go-json-experiment/json v0.0.0-20250813233538-9b1f9ea2e11b // indirect
4141 github.com/go-logr/logr v1.4.3 // indirect
4242 github.com/go-logr/stdr v1.2.2 // indirect
4343 github.com/gobwas/httphead v0.1.0 // indirect
Original file line number Diff line number Diff line change @@ -51,8 +51,8 @@ github.com/fatih/color v1.18.0 h1:S8gINlzdQ840/4pfAwic/ZE0djQEH3wM94VfqLTZcOM=
5151github.com/fatih/color v1.18.0 /go.mod h1:4FelSpRwEGDpQ12mAdzqdOukCy4u8WUtOY6lkT/6HfU =
5252github.com/felixge/httpsnoop v1.0.4 h1:NFTV2Zj1bL4mc9sqWACXbQFVBBg2W3GPvqp8/ESS2Wg =
5353github.com/felixge/httpsnoop v1.0.4 /go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U =
54- github.com/go-json-experiment/json v0.0.0-20250910080747-cc2cfa0554c3 h1:02WINGfSX5w0Mn+F28UyRoSt9uvMhKguwWMlOAh6U/0 =
55- github.com/go-json-experiment/json v0.0.0-20250910080747-cc2cfa0554c3 /go.mod h1:uNVvRXArCGbZ508SxYYTC5v1JWoz2voff5pm25jU1Ok =
54+ github.com/go-json-experiment/json v0.0.0-20250813233538-9b1f9ea2e11b h1:6Q4zRHXS/YLOl9Ng1b1OOOBWMidAQZR3Gel0UKPC/KU =
55+ github.com/go-json-experiment/json v0.0.0-20250813233538-9b1f9ea2e11b /go.mod h1:TiCD2a1pcmjd7YnhGH0f/zKNcCD06B029pHhzV23c2M =
5656github.com/go-logr/logr v1.2.2 /go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A =
5757github.com/go-logr/logr v1.4.3 h1:CjnDlHq8ikf6E492q6eKboGOC0T8CDaOvkHCIg8idEI =
5858github.com/go-logr/logr v1.4.3 /go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY =
You can’t perform that action at this time.
0 commit comments