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" 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 }} diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 474ead2..3031733 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -19,5 +19,9 @@ jobs: - uses: actions/setup-go@v6 with: go-version: stable - - name: Run make check (fmt-check and lint) - run: make check \ No newline at end of file + - name: Run format check + run: make fmt-check + - name: Run golangci-lint + uses: golangci/golangci-lint-action@v8 + with: + 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 "アプリケーションを起動中..."