From 45d2efe5597488c894d37e3847f44d0dc0c753b1 Mon Sep 17 00:00:00 2001 From: winebarrel Date: Sat, 30 Dec 2023 23:03:01 +0900 Subject: [PATCH] Fix CI --- .github/workflows/{test.yml => ci.yml} | 8 ++++++-- 1 file changed, 6 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 10c3a7d..477a260 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,5 @@ -name: test +name: CI + on: pull_request: paths-ignore: @@ -7,6 +8,8 @@ on: - LICENSE - README.md push: + branches: + - main paths-ignore: - .github/dependabot.yml - CHANGELOG.md @@ -24,7 +27,8 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: ">=1.21.1" + go-version-file: go.mod + cache: false - uses: golangci/golangci-lint-action@v3 - run: make gen && git diff --exit-code - name: Start services