From 29be4e509b9f31f78dba59147d69aa24ba722e5b Mon Sep 17 00:00:00 2001 From: Kohei Sugimoto <18735471+kohbis@users.noreply.github.com> Date: Sat, 13 Aug 2022 10:29:33 +0900 Subject: [PATCH] fix: go version in ci and ci trigger --- .github/workflows/{feature.yml => ci.yml} | 7 ++----- .github/workflows/release.yml | 2 +- 2 files changed, 3 insertions(+), 6 deletions(-) rename .github/workflows/{feature.yml => ci.yml} (76%) diff --git a/.github/workflows/feature.yml b/.github/workflows/ci.yml similarity index 76% rename from .github/workflows/feature.yml rename to .github/workflows/ci.yml index 8eeb6a3..abc2eb0 100644 --- a/.github/workflows/feature.yml +++ b/.github/workflows/ci.yml @@ -1,9 +1,6 @@ name: feature -on: - push: - branches: - - 'feature/**' +on: pull_request jobs: setup: @@ -14,6 +11,6 @@ jobs: - name: Setup Go uses: actions/setup-go@v2 with: - go-version: 1.16 + go-version: 1.19 - name: Test run: go test -v ./... diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index aa30ff1..6e9d21a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,7 +14,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v2 with: - go-version: 1.16 + go-version: 1.19 - name: Test run: go test -v ./... - name: Run GoReleaser