diff --git a/.github/workflows/nancy.yaml b/.github/workflows/nancy.yaml index d817d59..0f1ab02 100644 --- a/.github/workflows/nancy.yaml +++ b/.github/workflows/nancy.yaml @@ -22,13 +22,16 @@ jobs: runs-on: ubuntu-latest steps: - name: Set up git repository - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - name: Set up Go - uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5 + uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5 with: go-version: '1.23' + - name: Ensure dependencies are up to date + run: go mod tidy + - name: Write go.list run: | go list -json -deps ./... | jq 'select(. | tostring | test("helm|apiserver"; "i") | not)' > go.list