From 8d13327a6d35a431eb7d8e4f9786eb96520aaaf1 Mon Sep 17 00:00:00 2001 From: michimani Date: Thu, 9 Nov 2023 19:28:41 +0900 Subject: [PATCH] update workflow #121 --- .github/workflows/onlytest.yml | 6 ++++-- .github/workflows/release.yml | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/onlytest.yml b/.github/workflows/onlytest.yml index fd5e7a9..3950c49 100644 --- a/.github/workflows/onlytest.yml +++ b/.github/workflows/onlytest.yml @@ -8,16 +8,18 @@ on: - '**' paths: - '**.go' + - 'go.mod' + - 'go.sum' jobs: test: name: Test runs-on: ubuntu-latest steps: - - name: Set up Go 1.18 + - name: Set up Go 1.21 uses: actions/setup-go@v3 with: - go-version: 1.18 + go-version: 1.21 - name: Check out code into the Go module directory uses: actions/checkout@v2 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f36a04c..dff2cd1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,10 +9,10 @@ jobs: name: Test runs-on: ubuntu-latest steps: - - name: Set up Go 1.18 + - name: Set up Go 1.21 uses: actions/setup-go@v3 with: - go-version: 1.18 + go-version: 1.21 - name: Check out code into the Go module directory uses: actions/checkout@v2