fix typo, fix log init bug #33
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Setup go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.21 | |
- name: Install just | |
uses: extractions/setup-just@v1 | |
- name: Setup module dependencies | |
run: just mod | |
- name: Compile binary | |
run: just build | |
- name: Run some static analysis | |
run: just vet | |
- name: Run tests | |
run: just ARGS='-v -count=1' test |