From 248c646e0c8515293aa23f7180f83c92eb6839d6 Mon Sep 17 00:00:00 2001 From: Jai Govindani Date: Tue, 21 Feb 2023 21:30:02 +0700 Subject: [PATCH] ci(terratest): Update Go to 1.19 --- .github/workflows/checkov.yaml | 2 +- .github/workflows/semantic-pr.yaml | 6 +++--- .github/workflows/terratest.yaml | 10 ++++++---- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/checkov.yaml b/.github/workflows/checkov.yaml index 8a5de5d..bbbeecb 100644 --- a/.github/workflows/checkov.yaml +++ b/.github/workflows/checkov.yaml @@ -1,4 +1,4 @@ -name: "honest-public-checkov-workflow" +name: "Checkov GitHub Action" on: pull_request: branches: [test, dev, qa, prod, main] diff --git a/.github/workflows/semantic-pr.yaml b/.github/workflows/semantic-pr.yaml index aa7ee14..83bcbc9 100644 --- a/.github/workflows/semantic-pr.yaml +++ b/.github/workflows/semantic-pr.yaml @@ -1,4 +1,4 @@ -name: "honest-public-semantic-pull-request-workflow" +name: "Semantic Pull Request" on: pull_request: @@ -10,8 +10,8 @@ on: permissions: read-all jobs: - semantic-pull-request: - name: semantic-pull-request + main: + name: Semantic Pull Request runs-on: ubuntu-latest steps: - uses: amannn/action-semantic-pull-request@v4 diff --git a/.github/workflows/terratest.yaml b/.github/workflows/terratest.yaml index b8131af..d710dbd 100644 --- a/.github/workflows/terratest.yaml +++ b/.github/workflows/terratest.yaml @@ -9,7 +9,9 @@ on: branches: - main -permissions: read-all +permissions: + contents: write + pull-requests: write env: PAGERDUTY_TOKEN: ${{ secrets.PAGERDUTY_TOKEN }} @@ -23,10 +25,10 @@ jobs: uses: actions/checkout@v2 with: submodules: true - - name: Set up Go (1.17) - uses: actions/setup-go@v2 + - name: Set up Go (1.19) + uses: actions/setup-go@v3 with: - go-version: 1.17 + go-version: 1.19 id: go - name: Run terratest run: |