From 2d227b52ec042e8a0f64b7c194ae51fe10d95058 Mon Sep 17 00:00:00 2001 From: Kenichi Kamiya Date: Tue, 20 Jun 2023 20:24:20 +0900 Subject: [PATCH] Use the same version of go as specified in go.mod --- .github/workflows/hashira-cui--test.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/hashira-cui--test.yml b/.github/workflows/hashira-cui--test.yml index fe62a576..7295ea1a 100644 --- a/.github/workflows/hashira-cui--test.yml +++ b/.github/workflows/hashira-cui--test.yml @@ -10,17 +10,19 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: actions/setup-go@v2 + - uses: actions/setup-go@v4 with: - go-version: '^1.19.1' + go-version-file: 'go.mod' + cache-dependency-path: 'go.sum' - run: make test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: actions/setup-go@v2 + - uses: actions/setup-go@v4 with: - go-version: '^1.19.1' + go-version-file: 'go.mod' + cache-dependency-path: 'go.sum' - run: make test lint: runs-on: ubuntu-latest @@ -28,7 +30,8 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-go@v4 with: - go-version: '^1.19.1' + go-version-file: 'go.mod' + cache-dependency-path: 'go.sum' - uses: golangci/golangci-lint-action@v3 with: version: v1.53.3