From 0850a57a787747f98b32b075883cdc262f9d6b15 Mon Sep 17 00:00:00 2001 From: Billy Keyes Date: Mon, 25 May 2026 11:35:28 -0400 Subject: [PATCH] Pin GitHub actions to SHAs and enable Dependabot --- .github/dependabot.yml | 6 ++++++ .github/workflows/go.yml | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..ca79ca5 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,6 @@ +version: 2 +updates: + - package-ecosystem: github-actions + directory: / + schedule: + interval: weekly diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index c89fc7e..453f5c1 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -10,17 +10,17 @@ jobs: runs-on: ubuntu-latest steps: - name: Set up Go 1.21 - uses: actions/setup-go@v5 + uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0 with: go-version: 1.21 - name: Check out code into the Go module directory - uses: actions/checkout@v4 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: Lint - uses: golangci/golangci-lint-action@v7 + uses: golangci/golangci-lint-action@82606bf257cbaff209d206a39f5134f0cfbfd2ee # v9.2.1 with: - version: v2.0 + version: v2.10 - name: Test run: go test -v ./...