Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fly-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
8 changes: 6 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
- name: Run format check
run: make fmt-check
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v8
with:
version: latest
7 changes: 1 addition & 6 deletions Makefile
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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 - 本番用バイナリをビルド (最適化、デバッグ情報なし)"
Expand Down Expand Up @@ -50,10 +49,6 @@ lint:
golangci-lint run ./...
@echo "静的解析完了"

# チェック専用 (修正しない、CI用)
check: fmt-check lint
@echo "すべてのチェックが完了しました"

# アプリケーションを実行
run:
@echo "アプリケーションを起動中..."
Expand Down