From 7f404ee3468791311ebc61e9d61aae1e33ffd98c Mon Sep 17 00:00:00 2001 From: Anh Minh <1phamminh0811@gmail.com> Date: Tue, 17 Sep 2024 12:25:06 +0700 Subject: [PATCH] Update workflows --- .github/workflows/codeql.yml | 2 +- .github/workflows/e2e.yml | 4 ++-- .github/workflows/interchain.yml | 34 ++++++++++++++++---------------- .github/workflows/lint.yml | 2 +- .github/workflows/sims.yml | 12 +++++------ .github/workflows/test.yml | 6 +++--- 6 files changed, 30 insertions(+), 30 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index b44753446..8270a1079 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -29,7 +29,7 @@ jobs: uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: "1.20" + go-version: "1.21" check-latest: true # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 95ac51908..e1fb15e4d 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -18,9 +18,9 @@ jobs: steps: - name: Setup Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: - go-version: '1.20.4' + go-version: '1.21' - name: Check out repository code uses: actions/checkout@v4 diff --git a/.github/workflows/interchain.yml b/.github/workflows/interchain.yml index 7af27c96e..7d6f1c8bc 100644 --- a/.github/workflows/interchain.yml +++ b/.github/workflows/interchain.yml @@ -15,9 +15,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Setup Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: - go-version: '1.20' + go-version: '1.21' - name: Check out repository code uses: actions/checkout@v4 - name: Set up Docker Buildx @@ -36,10 +36,10 @@ jobs: runs-on: ubuntu-latest needs: build-image steps: - - name: Set up Go 1.20 - uses: actions/setup-go@v4 + - name: Set up Go 1.21 + uses: actions/setup-go@v5 with: - go-version: "1.20" + go-version: "1.21" check-latest: true - name: checkout code @@ -51,10 +51,10 @@ jobs: runs-on: ubuntu-latest needs: build-image steps: - - name: Set up Go 1.20 - uses: actions/setup-go@v4 + - name: Set up Go 1.21 + uses: actions/setup-go@v5 with: - go-version: "1.20" + go-version: "1.21" check-latest: true - name: checkout code @@ -66,10 +66,10 @@ jobs: runs-on: ubuntu-latest needs: build-image steps: - - name: Set up Go 1.20 - uses: actions/setup-go@v4 + - name: Set up Go 1.21 + uses: actions/setup-go@v5 with: - go-version: "1.20" + go-version: "1.21" check-latest: true - name: checkout code @@ -81,10 +81,10 @@ jobs: runs-on: ubuntu-latest needs: build-image steps: - - name: Set up Go 1.20 - uses: actions/setup-go@v4 + - name: Set up Go 1.21 + uses: actions/setup-go@v5 with: - go-version: "1.20" + go-version: "1.21" check-latest: true - name: checkout code @@ -96,10 +96,10 @@ jobs: runs-on: ubuntu-latest needs: build-image steps: - - name: Set up Go 1.20 - uses: actions/setup-go@v4 + - name: Set up Go 1.21 + uses: actions/setup-go@v5 with: - go-version: "1.20" + go-version: "1.21" check-latest: true - name: checkout code diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index a8404a55c..4e0734d63 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -14,7 +14,7 @@ jobs: steps: - uses: actions/setup-go@v5 with: - go-version: "1.20" + go-version: "1.21" check-latest: true - uses: actions/checkout@v4 - name: golangci-lint diff --git a/.github/workflows/sims.yml b/.github/workflows/sims.yml index bf7a70d96..e858c5b58 100644 --- a/.github/workflows/sims.yml +++ b/.github/workflows/sims.yml @@ -28,7 +28,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: "1.20" + go-version: "1.21" check-latest: true - name: Display go version run: go version @@ -40,7 +40,7 @@ jobs: steps: - uses: actions/setup-go@v5 with: - go-version: "1.20" + go-version: "1.21" check-latest: true - name: Display go version run: go version @@ -58,7 +58,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: "1.20" + go-version: "1.21" check-latest: true - name: Display go version run: go version @@ -85,7 +85,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: "1.20" + go-version: "1.21" check-latest: true - name: Display go version run: go version @@ -114,7 +114,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: "1.20" + go-version: "1.21" check-latest: true - name: Display go version run: go version @@ -143,7 +143,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: "1.20" + go-version: "1.21" check-latest: true - name: Display go version run: go version diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 259a61159..cf97053a7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -24,7 +24,7 @@ jobs: steps: - uses: actions/setup-go@v5 with: - go-version: "1.20" + go-version: "1.21" check-latest: true - uses: actions/checkout@v4 - name: build @@ -41,7 +41,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: "1.20" + go-version: "1.21" check-latest: true - uses: technote-space/get-diff-action@v6 id: git_diff @@ -69,7 +69,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: "1.20" + go-version: "1.21" check-latest: true - uses: technote-space/get-diff-action@v6 id: git_diff