0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-08-22 19:38:35 +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 pull-requests: write
checks: write checks: write
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with: with:
ref: ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit 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 fetch-depth: 0 # a full history is required for pull request analysis
- name: 'Qodana Scan' - name: 'Qodana Scan'
uses: JetBrains/qodana-action@v2024.3.4 uses: JetBrains/qodana-action@b60a4b9259f448dd00f2ca4763db5677d69ba868 # v2024.3.4
with: with:
post-pr-comment: false post-pr-comment: false
env: env:

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -35,13 +35,13 @@ jobs:
run: echo "$GITHUB_CONTEXT" run: echo "$GITHUB_CONTEXT"
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with: with:
fetch-depth: 1 fetch-depth: 1
ref: ${{ github.event.inputs.ref || github.ref}} ref: ${{ github.event.inputs.ref || github.ref}}
- name: Setup Go - name: Setup Go
uses: actions/setup-go@v5 uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5
with: with:
go-version-file: "go.mod" go-version-file: "go.mod"
cache-dependency-path: "**/*.sum" 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 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 - name: Upload test log
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
if: always() if: always()
with: with:
name: test-log-${{ matrix.os }} name: test-log-${{ matrix.os }}