mirror of
https://github.com/RWejlgaard/pez-infra.git
synced 2026-05-06 04:14:43 +00:00
fix: more deprecations
This commit is contained in:
parent
d37d65cc29
commit
7dad32e774
4 changed files with 7 additions and 7 deletions
2
.github/workflows/deploy-on-merge.yml
vendored
2
.github/workflows/deploy-on-merge.yml
vendored
|
|
@ -20,7 +20,7 @@ jobs:
|
||||||
outputs:
|
outputs:
|
||||||
hosts: ${{ steps.discover.outputs.hosts }}
|
hosts: ${{ steps.discover.outputs.hosts }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Read hosts from inventory
|
- name: Read hosts from inventory
|
||||||
id: discover
|
id: discover
|
||||||
|
|
|
||||||
2
.github/workflows/deploy.yml
vendored
2
.github/workflows/deploy.yml
vendored
|
|
@ -56,7 +56,7 @@ jobs:
|
||||||
host: ${{ fromJson(needs.prepare.outputs.hosts) }}
|
host: ${{ fromJson(needs.prepare.outputs.hosts) }}
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Set up Tailscale
|
- name: Set up Tailscale
|
||||||
uses: tailscale/github-action@v4
|
uses: tailscale/github-action@v4
|
||||||
|
|
|
||||||
8
.github/workflows/terraform.yml
vendored
8
.github/workflows/terraform.yml
vendored
|
|
@ -53,7 +53,7 @@ jobs:
|
||||||
|
|
||||||
- name: Upload plan
|
- name: Upload plan
|
||||||
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
|
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v7
|
||||||
with:
|
with:
|
||||||
name: tfplan
|
name: tfplan
|
||||||
path: terraform/tfplan
|
path: terraform/tfplan
|
||||||
|
|
@ -66,10 +66,10 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
environment: production
|
environment: production
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Install OpenTofu
|
- name: Install OpenTofu
|
||||||
uses: opentofu/setup-opentofu@v1
|
uses: opentofu/setup-opentofu@v2
|
||||||
with:
|
with:
|
||||||
tofu_version: latest
|
tofu_version: latest
|
||||||
|
|
||||||
|
|
@ -99,7 +99,7 @@ jobs:
|
||||||
run: tofu init
|
run: tofu init
|
||||||
|
|
||||||
- name: Download plan
|
- name: Download plan
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v8
|
||||||
with:
|
with:
|
||||||
name: tfplan
|
name: tfplan
|
||||||
path: terraform/
|
path: terraform/
|
||||||
|
|
|
||||||
2
.github/workflows/validate-terraform.yml
vendored
2
.github/workflows/validate-terraform.yml
vendored
|
|
@ -11,7 +11,7 @@ jobs:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Install OpenTofu
|
- name: Install OpenTofu
|
||||||
uses: opentofu/setup-opentofu@v1
|
uses: opentofu/setup-opentofu@v2
|
||||||
with:
|
with:
|
||||||
tofu_version: latest
|
tofu_version: latest
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue