From 41de1d0765a64ec0504dc42d8daeace9f936ef9c Mon Sep 17 00:00:00 2001 From: winebarrel Date: Sat, 30 Dec 2023 11:09:39 +0900 Subject: [PATCH] Fix CI --- .github/workflows/{test.yml => ci.yml} | 4 +++- .github/workflows/goreleaser.yml | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) rename .github/workflows/{test.yml => ci.yml} (90%) diff --git a/.github/workflows/test.yml b/.github/workflows/ci.yml similarity index 90% rename from .github/workflows/test.yml rename to .github/workflows/ci.yml index daa5913..5df4640 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/ci.yml @@ -1,7 +1,9 @@ -name: test +name: CI on: pull_request: push: + branches: + - main jobs: test: runs-on: ubuntu-latest diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index ee54afc..b1e01c9 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -11,7 +11,6 @@ jobs: - uses: actions/setup-go@v5 with: go-version-file: go.mod - cache: false # https://github.com/golangci/golangci-lint-action/issues/807 - uses: goreleaser/goreleaser-action@v5 with: distribution: goreleaser