From 79084afc520902a5e94445c4ddda193289c99e83 Mon Sep 17 00:00:00 2001 From: Bobby Iliev Date: Thu, 19 Dec 2024 21:22:54 +0200 Subject: [PATCH] Upgrade actions/setup-go to v5 --- .github/workflows/acceptance.yml | 4 +++- .github/workflows/documentation.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/terraform.yml | 2 ++ .github/workflows/test.yml | 2 +- 5 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/acceptance.yml b/.github/workflows/acceptance.yml index 1dd118ce..7b4ff8e8 100644 --- a/.github/workflows/acceptance.yml +++ b/.github/workflows/acceptance.yml @@ -14,12 +14,14 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version-file: "go.mod" cache: true - uses: hashicorp/setup-terraform@v3 + with: + terraform_version: 1.8.2 - name: Docker Compose Up run: docker compose up --build -d diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index b772cb7c..dba781ef 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -17,7 +17,7 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version-file: "go.mod" cache: true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 11fce794..20e74759 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,7 +27,7 @@ jobs: - name: Unshallow run: git fetch --prune --unshallow - name: Set up Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version-file: "go.mod" cache: true diff --git a/.github/workflows/terraform.yml b/.github/workflows/terraform.yml index ae86e596..03387402 100644 --- a/.github/workflows/terraform.yml +++ b/.github/workflows/terraform.yml @@ -12,5 +12,7 @@ jobs: - uses: actions/checkout@v4 - uses: hashicorp/setup-terraform@v3 + with: + terraform_version: 1.8.2 - run: terraform fmt -recursive -check -diff diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 365b5477..b53911f1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,7 +12,7 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version-file: "go.mod" cache: true