chore: Add CI workflow for Go tests #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Go CI | |
on: | |
push: | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
# ジョブ内で実行する step を定義 | |
steps: | |
# リポジトリからソースコードの取得 | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: ^1.21.4 | |
- name: Run Test | |
run: go test -v ./... |