From 52fd5cfda26844975235561f80b6663a7eadd742 Mon Sep 17 00:00:00 2001 From: Thiery Ouattara Date: Fri, 6 Dec 2024 11:16:47 +0000 Subject: [PATCH] Update github action workflows --- .github/workflows/generate_binaries_on_pr.yml | 2 +- .github/workflows/integration_tests.yml | 6 +++--- .github/workflows/nets_integ_tests.yml | 6 +++--- .github/workflows/nets_testacc.yml | 4 ++-- .github/workflows/others_testacc.yml | 6 +++--- .github/workflows/release.yml | 2 +- .github/workflows/terraform_examples.yml | 2 +- .github/workflows/tofu_examples.yml | 2 +- .github/workflows/vms_testacc.yml | 4 ++-- 9 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/generate_binaries_on_pr.yml b/.github/workflows/generate_binaries_on_pr.yml index d88671010..bee56740a 100644 --- a/.github/workflows/generate_binaries_on_pr.yml +++ b/.github/workflows/generate_binaries_on_pr.yml @@ -22,7 +22,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 'stable' + go-version-file: './go.mod' - name: Run GoReleaser uses: goreleaser/goreleaser-action@v5 with: diff --git a/.github/workflows/integration_tests.yml b/.github/workflows/integration_tests.yml index 803829eec..5a485ad25 100644 --- a/.github/workflows/integration_tests.yml +++ b/.github/workflows/integration_tests.yml @@ -21,7 +21,7 @@ jobs: with: repository: ${{ github.event.pull_request.head.repo.full_name }} ref: ${{ github.event.pull_request.head.ref }} - - uses: outscale-dev/frieza-github-actions/frieza-clean@master + - uses: outscale/frieza-github-actions/frieza-clean@master with: access_key: ${{ secrets.OSC_ACCESS_KEY }} secret_key: ${{ secrets.OSC_SECRET_KEY }} @@ -29,7 +29,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 'stable' + go-version-file: './go.mod' - name: Set up Python uses: actions/setup-python@v5 with: @@ -40,7 +40,7 @@ jobs: - name: Setup Terraform uses: hashicorp/setup-terraform@v3 with: - terraform_version: 1.6.5 + terraform_version: 1.9.8 terraform_wrapper: false - name: Build go test run: make test diff --git a/.github/workflows/nets_integ_tests.yml b/.github/workflows/nets_integ_tests.yml index 944f76162..ddb773a4d 100644 --- a/.github/workflows/nets_integ_tests.yml +++ b/.github/workflows/nets_integ_tests.yml @@ -21,7 +21,7 @@ jobs: with: repository: ${{ github.event.pull_request.head.repo.full_name }} ref: ${{ github.event.pull_request.head.ref }} - - uses: outscale-dev/frieza-github-actions/frieza-clean@master + - uses: outscale/frieza-github-actions/frieza-clean@master with: access_key: ${{ secrets.OSC_ACCESS_KEY }} secret_key: ${{ secrets.OSC_SECRET_KEY }} @@ -29,7 +29,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 'stable' + go-version-file: './go.mod' - name: Set up Python uses: actions/setup-python@v5 with: @@ -40,7 +40,7 @@ jobs: - name: Setup Terraform uses: hashicorp/setup-terraform@v3 with: - terraform_version: 1.6.5 + terraform_version: 1.9.8 terraform_wrapper: false - name: Build go test run: make test diff --git a/.github/workflows/nets_testacc.yml b/.github/workflows/nets_testacc.yml index f2a7fb152..25fad2737 100644 --- a/.github/workflows/nets_testacc.yml +++ b/.github/workflows/nets_testacc.yml @@ -20,7 +20,7 @@ jobs: with: repository: ${{ github.event.pull_request.head.repo.full_name }} ref: ${{ github.event.pull_request.head.ref }} - - uses: outscale-dev/frieza-github-actions/frieza-clean@master + - uses: outscale/frieza-github-actions/frieza-clean@master with: access_key: ${{ secrets.OSC_ACCESS_KEY }} secret_key: ${{ secrets.OSC_SECRET_KEY }} @@ -28,7 +28,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 'stable' + go-version-file: './go.mod' - name: Build go test run: make test env: diff --git a/.github/workflows/others_testacc.yml b/.github/workflows/others_testacc.yml index 6e0ca8a7d..442bca033 100644 --- a/.github/workflows/others_testacc.yml +++ b/.github/workflows/others_testacc.yml @@ -20,7 +20,7 @@ jobs: with: repository: ${{ github.event.pull_request.head.repo.full_name }} ref: ${{ github.event.pull_request.head.ref }} - - uses: outscale-dev/frieza-github-actions/frieza-clean@master + - uses: outscale/frieza-github-actions/frieza-clean@master with: access_key: ${{ secrets.OSC_ACCESS_KEY }} secret_key: ${{ secrets.OSC_SECRET_KEY }} @@ -28,12 +28,12 @@ jobs: - name: Setup Terraform uses: hashicorp/setup-terraform@v3 with: - terraform_version: 1.6.5 + terraform_version: 1.9.8 terraform_wrapper: false - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 'stable' + go-version-file: './go.mod' - name: local tests run: | wget https://github.com/outscale/osc-ricochet-2/releases/download/v0.2.0/osc-ricochet-2_v0.2.0_x86_64-unknown-linux-musl.tar.gz diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b7aa9b5bb..b2ca7ed31 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,7 +25,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 'stable' + go-version-file: './go.mod' - name: Import GPG key id: import_gpg diff --git a/.github/workflows/terraform_examples.yml b/.github/workflows/terraform_examples.yml index d985fa894..450a1f82e 100644 --- a/.github/workflows/terraform_examples.yml +++ b/.github/workflows/terraform_examples.yml @@ -29,7 +29,7 @@ jobs: region: ${{ secrets.OSC_REGION }} - uses: actions/setup-go@v5 with: - go-version: 'stable' + go-version-file: './go.mod' - name: Setup Terraform uses: hashicorp/setup-terraform@v3 with: diff --git a/.github/workflows/tofu_examples.yml b/.github/workflows/tofu_examples.yml index 3b495adc3..85975d09d 100644 --- a/.github/workflows/tofu_examples.yml +++ b/.github/workflows/tofu_examples.yml @@ -29,7 +29,7 @@ jobs: region: ${{ secrets.OSC_REGION }} - uses: actions/setup-go@v5 with: - go-version: 'stable' + go-version-file: './go.mod' - name: Setup OpenTofu uses: opentofu/setup-opentofu@v1 with: diff --git a/.github/workflows/vms_testacc.yml b/.github/workflows/vms_testacc.yml index 436f7b902..7586f6297 100644 --- a/.github/workflows/vms_testacc.yml +++ b/.github/workflows/vms_testacc.yml @@ -20,7 +20,7 @@ jobs: with: repository: ${{ github.event.pull_request.head.repo.full_name }} ref: ${{ github.event.pull_request.head.ref }} - - uses: outscale-dev/frieza-github-actions/frieza-clean@master + - uses: outscale/frieza-github-actions/frieza-clean@master with: access_key: ${{ secrets.OSC_ACCESS_KEY }} secret_key: ${{ secrets.OSC_SECRET_KEY }} @@ -28,7 +28,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 'stable' + go-version-file: './go.mod' - name: Build go test run: make test env: