From c3aeba1676f612bec1ea4f5dcb20904eedc29b3c Mon Sep 17 00:00:00 2001 From: Thiery Ouattara Date: Tue, 5 Dec 2023 14:47:58 +0000 Subject: [PATCH] Update github actions --- .github/workflows/codeql.yml | 2 +- .github/workflows/examples-test.yml | 4 ++-- .github/workflows/generate_binaries_on_pr.yml | 4 ++-- .github/workflows/generate_doc.yml | 2 +- .github/workflows/github-sanity-scan.yml | 2 +- .github/workflows/integration_tests.yml | 6 +++--- .github/workflows/nets_integ_tests.yml | 10 +++++----- .github/workflows/nets_testacc.yml | 2 +- .github/workflows/others_testacc.yml | 6 +++--- .github/workflows/release.yml | 6 +++--- .github/workflows/vms_testacc.yml | 2 +- 11 files changed, 23 insertions(+), 23 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index b0b17e249..4a3d0a8f4 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -24,7 +24,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Initialize CodeQL uses: github/codeql-action/init@v2 diff --git a/.github/workflows/examples-test.yml b/.github/workflows/examples-test.yml index b33aa706e..1136d82ff 100644 --- a/.github/workflows/examples-test.yml +++ b/.github/workflows/examples-test.yml @@ -18,7 +18,7 @@ jobs: environment: test-eu-west-2 runs-on: [self-hosted, linux, eu-west-2] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: repository: ${{ github.event.pull_request.head.repo.full_name }} ref: ${{ github.event.pull_request.head.ref }} @@ -31,7 +31,7 @@ jobs: with: go-version: 'stable' - name: Setup Terraform - uses: hashicorp/setup-terraform@v2 + uses: hashicorp/setup-terraform@v3 with: terraform_wrapper: false - name: Run Examples diff --git a/.github/workflows/generate_binaries_on_pr.yml b/.github/workflows/generate_binaries_on_pr.yml index 2a0e33555..c779017c0 100644 --- a/.github/workflows/generate_binaries_on_pr.yml +++ b/.github/workflows/generate_binaries_on_pr.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up Go @@ -17,7 +17,7 @@ jobs: with: go-version: 'stable' - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v4 + uses: goreleaser/goreleaser-action@v5 with: version: latest args: build --rm-dist --snapshot diff --git a/.github/workflows/generate_doc.yml b/.github/workflows/generate_doc.yml index e9ef67700..2131b61d1 100644 --- a/.github/workflows/generate_doc.yml +++ b/.github/workflows/generate_doc.yml @@ -11,7 +11,7 @@ jobs: environment: auto-build runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: 'recursive' - uses: actions/setup-python@v2 diff --git a/.github/workflows/github-sanity-scan.yml b/.github/workflows/github-sanity-scan.yml index b554c4e25..1baf6939c 100644 --- a/.github/workflows/github-sanity-scan.yml +++ b/.github/workflows/github-sanity-scan.yml @@ -8,7 +8,7 @@ jobs: github-sanity-scan: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Github sanity scanner uses: outscale/github-sanity-scan@main with: diff --git a/.github/workflows/integration_tests.yml b/.github/workflows/integration_tests.yml index 18083e345..5f7f7fc22 100644 --- a/.github/workflows/integration_tests.yml +++ b/.github/workflows/integration_tests.yml @@ -17,7 +17,7 @@ jobs: environment: test-eu-west-2 runs-on: [self-hosted, linux, eu-west-2] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: repository: ${{ github.event.pull_request.head.repo.full_name }} ref: ${{ github.event.pull_request.head.ref }} @@ -38,9 +38,9 @@ jobs: run: | python -m pip install --upgrade pip - name: Setup Terraform - uses: hashicorp/setup-terraform@v2 + uses: hashicorp/setup-terraform@v3 with: - terraform_version: 1.3.5 + terraform_version: 1.6.5 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 3e1cf89c8..ffebf29a8 100644 --- a/.github/workflows/nets_integ_tests.yml +++ b/.github/workflows/nets_integ_tests.yml @@ -17,7 +17,7 @@ jobs: environment: test-us-east-2 runs-on: [self-hosted, linux, us-east-2] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: repository: ${{ github.event.pull_request.head.repo.full_name }} ref: ${{ github.event.pull_request.head.ref }} @@ -27,9 +27,9 @@ jobs: secret_key: ${{ secrets.OSC_SECRET_KEY }} region: ${{ secrets.OSC_REGION }} - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: - go-version: '>=1.18.0' + go-version: 'stable' - name: Set up Python uses: actions/setup-python@v2 with: @@ -38,9 +38,9 @@ jobs: run: | python -m pip install --upgrade pip - name: Setup Terraform - uses: hashicorp/setup-terraform@v2 + uses: hashicorp/setup-terraform@v3 with: - terraform_version: 1.3.5 + terraform_version: 1.6.5 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 dfead68f8..b9b237252 100644 --- a/.github/workflows/nets_testacc.yml +++ b/.github/workflows/nets_testacc.yml @@ -16,7 +16,7 @@ jobs: environment: test-us-east-2 runs-on: [self-hosted, linux, us-east-2] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: repository: ${{ github.event.pull_request.head.repo.full_name }} ref: ${{ github.event.pull_request.head.ref }} diff --git a/.github/workflows/others_testacc.yml b/.github/workflows/others_testacc.yml index e72f852c8..e6d591742 100644 --- a/.github/workflows/others_testacc.yml +++ b/.github/workflows/others_testacc.yml @@ -16,7 +16,7 @@ jobs: environment: test-eu-west-2 runs-on: [self-hosted, linux, eu-west-2] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: repository: ${{ github.event.pull_request.head.repo.full_name }} ref: ${{ github.event.pull_request.head.ref }} @@ -26,9 +26,9 @@ jobs: secret_key: ${{ secrets.OSC_SECRET_KEY }} region: ${{ secrets.OSC_REGION }} - name: Setup Terraform - uses: hashicorp/setup-terraform@v2 + uses: hashicorp/setup-terraform@v3 with: - terraform_version: 1.3.5 + terraform_version: 1.6.5 terraform_wrapper: false - name: Set up Go uses: actions/setup-go@v4 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7d7af1291..aa4052549 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,7 +20,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Go uses: actions/setup-go@v4 @@ -29,13 +29,13 @@ jobs: - name: Import GPG key id: import_gpg - uses: crazy-max/ghaction-import-gpg@v5 + uses: crazy-max/ghaction-import-gpg@v6 with: GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} PASSPHRASE: ${{ secrets.PASSPHRASE }} - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v4 + uses: goreleaser/goreleaser-action@v5 with: version: latest args: release --clean diff --git a/.github/workflows/vms_testacc.yml b/.github/workflows/vms_testacc.yml index 01d0646d8..f09713344 100644 --- a/.github/workflows/vms_testacc.yml +++ b/.github/workflows/vms_testacc.yml @@ -16,7 +16,7 @@ jobs: environment: test-eu-west-2 runs-on: [self-hosted, linux, eu-west-2] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: repository: ${{ github.event.pull_request.head.repo.full_name }} ref: ${{ github.event.pull_request.head.ref }}