Skip to content

エラーハンドリング周りの修正 #11

エラーハンドリング周りの修正

エラーハンドリング周りの修正 #11

Workflow file for this run

name: golangci-lint
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
paths-ignore:
- "**.md"
jobs:
golangci-lint:
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- name: Check out
uses: actions/checkout@v3
- name: golang-lint
uses: reviewdog/action-golangci-lint@v2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
golangci_lint_flags: "--config=./.golangci.yml ./..."
fail_on_error: true
reporter: "github-pr-review"
test:
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: 1.21
- name: Run Test
run: |
go test -cover -shuffle=on ./...