From 711a8d3aa32a3466dfc47ee92ef16b83d30d3a46 Mon Sep 17 00:00:00 2001 From: nka21 <133028205+nka21@users.noreply.github.com> Date: Wed, 12 Nov 2025 12:10:47 +0000 Subject: [PATCH 1/4] =?UTF-8?q?fix:=20=E3=82=B3=E3=83=9E=E3=83=B3=E3=83=89?= =?UTF-8?q?=E9=96=93=E9=81=95=E3=81=88=E3=81=A6=E3=81=BE=E3=81=97=E3=81=9F?= =?UTF-8?q?!!!?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/fly-deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/fly-deploy.yml b/.github/workflows/fly-deploy.yml index 4c809b4..9b7856a 100644 --- a/.github/workflows/fly-deploy.yml +++ b/.github/workflows/fly-deploy.yml @@ -13,6 +13,6 @@ jobs: steps: - uses: actions/checkout@v4 - uses: superfly/flyctl-actions/setup-flyctl@master - - run: fly deploy + - run: flyctl deploy env: FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} From 81d48039cf6e9be1afa1befee321ec08308ea902 Mon Sep 17 00:00:00 2001 From: nka21 <133028205+nka21@users.noreply.github.com> Date: Wed, 12 Nov 2025 12:14:53 +0000 Subject: [PATCH 2/4] =?UTF-8?q?chore:=20devcontainer=E3=81=AE=E6=8B=A1?= =?UTF-8?q?=E5=BC=B5=E6=A9=9F=E8=83=BD=E3=81=AB=20`claude-code`=20?= =?UTF-8?q?=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .devcontainer/devcontainer.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index a468e7d..77b5b74 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -15,7 +15,13 @@ "postCreateCommand": "curl -L https://fly.io/install.sh | sh && echo 'export FLYCTL_INSTALL=\"/home/vscode/.fly\"' >> ~/.bashrc && echo 'export PATH=\"$FLYCTL_INSTALL/bin:$PATH\"' >> ~/.bashrc", // Configure tool-specific properties. - // "customizations": {}, + "customizations": { + "vscode": { + "extensions": [ + "Anthropic.claude-code" + ] + } + }, // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. // "remoteUser": "root" From 6a39feb8324422aba3f2e6fa2ba8f2b32f2ce7ec Mon Sep 17 00:00:00 2001 From: nka21 <133028205+nka21@users.noreply.github.com> Date: Wed, 12 Nov 2025 12:16:09 +0000 Subject: [PATCH 3/4] =?UTF-8?q?fix:=20lint=E3=83=AF=E3=83=BC=E3=82=AF?= =?UTF-8?q?=E3=83=95=E3=83=AD=E3=83=BC=E3=81=AE=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/lint.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 474ead2..2c24d1a 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -19,5 +19,10 @@ jobs: - uses: actions/setup-go@v6 with: go-version: stable + - name: Install golangci-lint + uses: golangci/golangci-lint-action@v8 + with: + version: latest + args: --version - name: Run make check (fmt-check and lint) run: make check \ No newline at end of file From 89e3b952673943c969dec573017df6d96a49c7ac Mon Sep 17 00:00:00 2001 From: nka21 <133028205+nka21@users.noreply.github.com> Date: Wed, 12 Nov 2025 12:27:41 +0000 Subject: [PATCH 4/4] fix --- .github/workflows/lint.yml | 9 ++++----- Makefile | 7 +------ 2 files changed, 5 insertions(+), 11 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 2c24d1a..3031733 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -19,10 +19,9 @@ jobs: - uses: actions/setup-go@v6 with: go-version: stable - - name: Install golangci-lint + - name: Run format check + run: make fmt-check + - name: Run golangci-lint uses: golangci/golangci-lint-action@v8 with: - version: latest - args: --version - - name: Run make check (fmt-check and lint) - run: make check \ No newline at end of file + version: latest \ No newline at end of file diff --git a/Makefile b/Makefile index 2752967..171d6fd 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: help fmt fmt-check lint check fix run build build-prod test clean docker-build +.PHONY: help fmt fmt-check lint run build build-prod test clean docker-build # デフォルトターゲット help: @@ -13,7 +13,6 @@ help: @echo " make fmt - コードフォーマット (自動修正)" @echo " make fmt-check - フォーマットチェック (修正しない)" @echo " make lint - 静的解析 (golangci-lint)" - @echo " make check - フォーマット + 静的解析 (修正しない、CI用)" @echo "" @echo " [本番用]" @echo " make build-prod - 本番用バイナリをビルド (最適化、デバッグ情報なし)" @@ -50,10 +49,6 @@ lint: golangci-lint run ./... @echo "静的解析完了" -# チェック専用 (修正しない、CI用) -check: fmt-check lint - @echo "すべてのチェックが完了しました" - # アプリケーションを実行 run: @echo "アプリケーションを起動中..."