Skip to content

build(deps): Bump actions/checkout from 3 to 4 #17

build(deps): Bump actions/checkout from 3 to 4

build(deps): Bump actions/checkout from 3 to 4 #17

Workflow file for this run

name: CI
on:
pull_request:
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ '1.20' ]
steps:
- uses: actions/checkout@v4
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Prepare
run: |
make prepare
go install github.com/jstemmer/go-junit-report@latest
- name: Test
run: |
go test -v 2>&1 ./... | go-junit-report -set-exit-code > report.xml
- uses: test-summary/action@v2
if: always()
with:
paths: report.xml
- uses: reviewdog/action-staticcheck@v1
with:
github_token: ${{ secrets.github_token }}
reporter: github-pr-check
level: warning
filter_mode: diff_context
fail_on_error: false
- run: gofmt -w -s .
- uses: reviewdog/action-suggester@v1
with:
tool_name: gofmt