diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 41f7310..e7d3c78 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,5 +1,10 @@ version: 2 updates: + - package-ecosystem: github-actions + directory: '/' + schedule: + interval: 'weekly' + open-pull-requests-limit: 5 - package-ecosystem: 'gomod' directory: '/' schedule: diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 7588e6b..704692d 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -11,9 +11,8 @@ jobs: name: lint runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - name: golangci-lint uses: golangci/golangci-lint-action@v2 with: - version: latest \ No newline at end of file + version: latest diff --git a/.github/workflows/jsonnetfmt.yml b/.github/workflows/jsonnetfmt.yml index f6634c3..59cd4d8 100644 --- a/.github/workflows/jsonnetfmt.yml +++ b/.github/workflows/jsonnetfmt.yml @@ -8,10 +8,10 @@ jobs: jsonnetfmt: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-go@v2 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 with: - go-version: 1.22 + go-version-file: go.mod - name: Format run: | go install github.com/google/go-jsonnet/cmd/jsonnetfmt@latest diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 650d61f..58387d8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,14 +9,13 @@ jobs: goreleaser: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-go@v2 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 with: - go-version: 1.22 - - uses: goreleaser/goreleaser-action@v2 + go-version-file: go.mod + - uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6.0.0 with: - distribution: goreleaser version: latest - args: release --rm-dist + args: release --clean env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e60c473..4ddf8a2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,9 +8,9 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-go@v2 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 with: - go-version: 1.22 + go-version-file: go.mod - run: go test ./... -bench=. -benchmem \ No newline at end of file diff --git a/.goreleaser.yml b/.goreleaser.yml index 2212092..6610662 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -20,4 +20,4 @@ archives: release: draft: true changelog: - skip: true + disable: true