ci.yml 468 B

1234567891011121314151617181920212223242526
  1. name: ci
  2. on: [push, pull_request]
  3. jobs:
  4. build:
  5. strategy:
  6. matrix:
  7. os: [ubuntu-latest, windows-latest, macos-latest]
  8. runs-on: ${{ matrix.os }}
  9. steps:
  10. - name: Checkout
  11. uses: actions/checkout@v2
  12. - name: Setup Go
  13. uses: actions/setup-go@v2
  14. with:
  15. go-version: '^1.17'
  16. - name: Format
  17. run: make fmt
  18. - name: Build
  19. run: make build
  20. - name: Test
  21. run: make test