From 953f5d3490ea6aa90a688db90aa04e0cdb41659d Mon Sep 17 00:00:00 2001 From: Takeshi NAMAO Date: Wed, 25 Sep 2024 16:15:26 +0900 Subject: [PATCH] =?UTF-8?q?github=20actions=20=E3=81=AE=E3=82=A4=E3=83=A1?= =?UTF-8?q?=E3=83=BC=E3=82=B8=E3=81=A8=20staticchck=20=E3=81=AE=E3=83=90?= =?UTF-8?q?=E3=83=BC=E3=82=B8=E3=83=A7=E3=83=B3=E3=82=92=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E3=81=99=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 84199cf..96f6cd1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,30 +3,29 @@ name: Go Static Check on: push: branches-ignore: - - 'main' + - "main" tags-ignore: - - '*' + - "*" paths: - "**.go" jobs: - build: name: static-check runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v4 - - name: Set up Go - uses: actions/setup-go@v4 - with: - go-version-file: "./go.mod" + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version-file: "./go.mod" - - run: go version + - run: go version - - run: go fmt . + - run: go fmt . - - uses: dominikh/staticcheck-action@v1.3.0 - with: - version: "2023.1.6" - install-go: false + - uses: dominikh/staticcheck-action@v1.3.1 + with: + version: "2024.1.1" + install-go: false