0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-06-30 02:31:10 +00:00

chore(ci): pin dependencies (#1822)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
renovate[bot] 2025-03-12 19:31:48 +00:00 committed by GitHub
parent 57244d2f99
commit 189e81aba3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 17 additions and 17 deletions

View File

@ -16,12 +16,12 @@ jobs:
pull-requests: write
checks: write
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
ref: ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit
fetch-depth: 0 # a full history is required for pull request analysis
- name: 'Qodana Scan'
uses: JetBrains/qodana-action@v2024.3.4
uses: JetBrains/qodana-action@b60a4b9259f448dd00f2ca4763db5677d69ba868 # v2024.3.4
with:
post-pr-comment: false
env:

View File

@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
fetch-depth: 0
@ -31,7 +31,7 @@ jobs:
- .github/workflows/golangci-lint.yml
- name: Setup Go
uses: actions/setup-go@v5
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5
if: ${{ steps.filter.outputs.go == 'true' || steps.filter.outputs.linter == 'true'}}
with:
go-version-file: "go.mod"
@ -40,7 +40,7 @@ jobs:
- name: Lint code
if: ${{ steps.filter.outputs.go == 'true' || steps.filter.outputs.linter == 'true'}}
uses: golangci/golangci-lint-action@v6
uses: golangci/golangci-lint-action@4696ba8babb6127d732c3c6dde519db15edab9ea # v6
with:
version: v1.64.7 # renovate: datasource=github-releases depName=golangci/golangci-lint
args: -v --timeout=10m

View File

@ -15,7 +15,7 @@ jobs:
contents: write
steps:
- name: Generate Metrics
uses: lowlighter/metrics@v3.34
uses: lowlighter/metrics@65836723097537a54cd8eb90f61839426b4266b6 # v3.34
with:
template: repository
filename: metrics.svg

View File

@ -27,7 +27,7 @@ jobs:
repositories: "${{ github.event.repository.name }}"
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
fetch-depth: 0

View File

@ -21,7 +21,7 @@ jobs:
repositories: "${{ github.event.repository.name }}"
- name: Stale Issues and Pull Requests
uses: actions/stale@v9
uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 # v9
with:
repo-token: "${{ steps.app-token.outputs.token }}"
days-before-stale: 180

View File

@ -13,7 +13,7 @@ jobs:
timeout-minutes: 5
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
fetch-depth: 1
@ -27,7 +27,7 @@ jobs:
- name: Setup Go
if: ${{ steps.filter.outputs.go == 'true' }}
uses: actions/setup-go@v5
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5
with:
go-version-file: "go.mod"
cache-dependency-path: "**/*.sum"
@ -51,7 +51,7 @@ jobs:
run: echo "$GITHUB_CONTEXT"
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
fetch-depth: 1
@ -64,7 +64,7 @@ jobs:
- '**/*.go'
- name: Setup Go
uses: actions/setup-go@v5
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5
with:
go-version-file: "go.mod"
cache-dependency-path: "**/*.sum"
@ -82,13 +82,13 @@ jobs:
run: go test -json -v ./... 2>&1 | tee /tmp/gotest.log | gotestfmt -hide empty-packages
- name: Upload test log
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
if: ${{ steps.filter.outputs.go == 'true' }}
with:
name: test-log
path: /tmp/gotest.log
- uses: hashicorp/setup-terraform@v3
- uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # v3
- name: Check for uncommitted changes in generated docs
run: make docs && git diff --exit-code

View File

@ -35,13 +35,13 @@ jobs:
run: echo "$GITHUB_CONTEXT"
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
fetch-depth: 1
ref: ${{ github.event.inputs.ref || github.ref}}
- name: Setup Go
uses: actions/setup-go@v5
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5
with:
go-version-file: "go.mod"
cache-dependency-path: "**/*.sum"
@ -76,7 +76,7 @@ jobs:
go test -json --timeout=30m --tags=acceptance -count=1 -v github.com/bpg/terraform-provider-proxmox/fwprovider/... 2>&1 | tee ${{ runner.temp }}/gotest-${{ matrix.os }}.log | gotestfmt -hide empty-packages
- name: Upload test log
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
if: always()
with:
name: test-log-${{ matrix.os }}