Skip to content

update code fmt

update code fmt #163

Workflow file for this run

on: [push, pull_request]
name: CI
jobs:
test:
strategy:
matrix:
go-version: [1.20.x]
platform: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Install Go
uses: actions/setup-go@v1
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
- name: Test
run: |
diff -u <(echo -n) <(gofmt -d $(find . -type f -name '*.go'))
make && make test
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
file: ./coverage.txt