From 985ef903f9baeac5d97667ef401cf52391100e36 Mon Sep 17 00:00:00 2001 From: Vicente Pinto Date: Tue, 3 Oct 2023 08:32:56 +0100 Subject: [PATCH] Update gh actions (#62) --- .github/workflows/ci.yaml | 6 +++--- .github/workflows/release.yaml | 10 +++++----- .github/workflows/renovate.yaml | 6 +++--- .github/workflows/tf-acc-test.yaml | 4 ++-- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index a0a478bd..4e954ed2 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -3,7 +3,7 @@ name: CI Workflow on: [pull_request, workflow_dispatch] env: - GO_VERSION: '1.20' + GO_VERSION: "1.20" jobs: main: @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Build uses: ./.github/actions/build with: @@ -19,4 +19,4 @@ jobs: - name: Lint run: make lint - name: Test - run: make test \ No newline at end of file + run: make test diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index dc90eae1..e17fae19 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -6,7 +6,7 @@ name: Release on: push: tags: - - 'v*' + - "v*" # Releases need permissions to read and write the repository contents. # GitHub considers creating releases and uploading assets as writing contents. @@ -26,18 +26,18 @@ jobs: fetch-depth: 0 - uses: actions/setup-go@v4 with: - go-version-file: 'go.mod' + go-version-file: "go.mod" cache: true - name: Import GPG key - uses: crazy-max/ghaction-import-gpg@v5 + uses: crazy-max/ghaction-import-gpg@v6 id: import_gpg with: gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v4 + uses: goreleaser/goreleaser-action@v5 with: args: release --clean env: # GitHub sets the GITHUB_TOKEN secret automatically. GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }} \ No newline at end of file + GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }} diff --git a/.github/workflows/renovate.yaml b/.github/workflows/renovate.yaml index 55bace6f..6ca58279 100644 --- a/.github/workflows/renovate.yaml +++ b/.github/workflows/renovate.yaml @@ -2,7 +2,7 @@ name: Renovate on: schedule: - - cron: '0 0 * * *' + - cron: "0 0 * * *" workflow_dispatch: jobs: @@ -11,9 +11,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Self-hosted Renovate uses: renovatebot/github-action@v39.0.5 with: configurationFile: .github/renovate.json - token: ${{ secrets.RENOVATE_TOKEN }} \ No newline at end of file + token: ${{ secrets.RENOVATE_TOKEN }} diff --git a/.github/workflows/tf-acc-test.yaml b/.github/workflows/tf-acc-test.yaml index 8d6a0e41..41be99f6 100644 --- a/.github/workflows/tf-acc-test.yaml +++ b/.github/workflows/tf-acc-test.yaml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install project tools and dependencies run: make project-tools - name: Run tests @@ -30,4 +30,4 @@ jobs: TF_ACC_RESOURCEMANAGER_CUSTOM_ENDPOINT: ${{ secrets.TF_ACC_RESOURCEMANAGER_CUSTOM_ENDPOINT }} TF_ACC_SERVICE_ACCOUNT_TOKEN: ${{ secrets.TF_ACC_SERVICE_ACCOUNT_TOKEN }} TF_ACC_TEST_PROJECT_SERVICE_ACCOUNT_EMAIL: ${{ secrets.TF_ACC_TEST_PROJECT_SERVICE_ACCOUNT_EMAIL }} - TF_ACC_TEST_PROJECT_SERVICE_ACCOUNT_TOKEN: ${{ secrets.TF_ACC_TEST_PROJECT_SERVICE_ACCOUNT_TOKEN }} \ No newline at end of file + TF_ACC_TEST_PROJECT_SERVICE_ACCOUNT_TOKEN: ${{ secrets.TF_ACC_TEST_PROJECT_SERVICE_ACCOUNT_TOKEN }}