discordo/.github/workflows/ci.yml
2022-01-10 21:30:23 +04:00

19 lines
383 B
YAML

name: ci
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: '^1.17'
- name: Format
run: gofmt -d -e -s .
- name: Build
run: make build
- name: Test
run: make test