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

chore(build): update devcontainer and CI workflows (#1691)

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
This commit is contained in:
Pavel Boldyrev 2024-12-20 21:29:56 -05:00 committed by GitHub
parent 1afaf6cc44
commit 5ec64b8b19
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 7 additions and 7 deletions

View File

@ -3,12 +3,12 @@
{
"name": "Default Linux Universal",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/go",
"image": "mcr.microsoft.com/devcontainers/go:1.23-bullseye",
// Features to add to the dev container. More info: https://containers.dev/features.
"features": {
"ghcr.io/devcontainers/features/terraform:1": {
"version": "1.9.4"
"version": "1.10.3"
}
},

View File

@ -31,7 +31,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
if: steps.filter.outputs.go == 'true'
if: ${{ steps.filter.outputs.go == 'true' }}
with:
go-version-file: "go.mod"
cache-dependency-path: |
@ -39,6 +39,6 @@ jobs:
tools/go.sum
- name: Lint code
if: steps.filter.outputs.go == 'true'
if: ${{ steps.filter.outputs.go == 'true' }}
run: |
go run -modfile=tools/go.mod github.com/golangci/golangci-lint/cmd/golangci-lint run -v --timeout 5m

View File

@ -32,7 +32,7 @@ jobs:
- name: Find Link Checker Issue
id: link-checker-issue
uses: micalevisk/last-issue-action@0d40124cc99ac8601c2516007f0c98ef3d27537b # v2.3.0
if: env.lychee_exit_code != 0
if: steps.lychee.outputs.exit_code != 0
with:
state: open
labels: |
@ -40,7 +40,7 @@ jobs:
- name: Update Issue
uses: peter-evans/create-issue-from-file@e8ef132d6df98ed982188e460ebb3b5d4ef3a9cd # v5.0.1
if: env.lychee_exit_code != 0
if: steps.lychee.outputs.exit_code != 0
with:
title: Broken links detected 🔗
issue-number: "${{ steps.link-checker-issue.outputs.issue-number }}"

View File

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