File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,16 +19,16 @@ jobs:
1919 - name : Checkout
2020 uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2121
22- - name : Run Gosec Security Scanner
23- uses : securego/gosec@v2.23.0
24- with :
25- args : ./...
26-
2722 - name : Set up Go
2823 uses : actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
2924 with :
3025 go-version : ' 1.26'
3126
27+ - name : Run Gosec Security Scanner
28+ run : |
29+ go install github.com/securego/gosec/v2/cmd/gosec@v2.23.0
30+ gosec ./...
31+
3232 - name : Run Go tests
3333 run : go test ./...
3434
Original file line number Diff line number Diff line change @@ -21,16 +21,16 @@ jobs:
2121 - name : Checkout
2222 uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2323
24- - name : Run Gosec Security Scanner
25- uses : securego/gosec@v2.23.0
26- with :
27- args : ./...
28-
2924 - name : Set up Go
3025 uses : actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
3126 with :
3227 go-version : ' 1.26'
3328
29+ - name : Run Gosec Security Scanner
30+ run : |
31+ go install github.com/securego/gosec/v2/cmd/gosec@v2.23.0
32+ gosec ./...
33+
3434 - name : Run Go tests
3535 run : go test ./...
3636
You can’t perform that action at this time.
0 commit comments