From fe10a814e2efa5822ee2af5ca0c47a0bd5156890 Mon Sep 17 00:00:00 2001 From: Akhil Mohan Date: Wed, 1 Mar 2023 19:18:50 +0530 Subject: [PATCH] setup go 1.20.1 before tidiness check (#25) * setup go 1.20.1 before tidiness check Signed-off-by: Akhil Mohan * remove types from pull_request event trigger Signed-off-by: Akhil Mohan --------- Signed-off-by: Akhil Mohan --- .github/workflows/build.yaml | 2 -- .github/workflows/go.yml | 5 +++++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index f6e5a3d..29ce4fb 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -7,8 +7,6 @@ on: tags-ignore: - "*" pull_request: - types: - - synchronize branches: - main diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 6768508..9a70aab 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -22,6 +22,11 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v3 + + - uses: actions/setup-go@v2.1.3 + with: + go-version: "1.20.1" + - name: Check Go module tidiness shell: bash run: |