Skip to content

fix: GitHub ActionsにPRコメント権限を追加 #100

fix: GitHub ActionsにPRコメント権限を追加

fix: GitHub ActionsにPRコメント権限を追加 #100

Workflow file for this run

name: Go Test
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: setup
uses: actions/setup-go@v5
with:
go-version: "1.23.5"
- name: cache
uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: go mod
run: go mod download
- name: test
run: go test -v $(go list ./... | grep -v '/benchmark')