github.com/phuslu/log@v1.0.100/.github/workflows/go-slog.yml (about) 1 name: go-slog 2 3 on: 4 push: 5 branches: 6 - master 7 8 jobs: 9 verify: 10 runs-on: ubuntu-latest 11 steps: 12 - uses: actions/setup-go@v4 13 with: 14 go-version: '1.22' 15 check-latest: true 16 - uses: actions/checkout@v4 17 - name: Verify 18 working-directory: ./go-slog 19 run: go test -v -args -useWarnings 20 bench: 21 runs-on: ubuntu-latest 22 steps: 23 - uses: actions/setup-go@v4 24 with: 25 go-version: '1.22' 26 check-latest: true 27 - uses: actions/checkout@v4 28 - name: Benchmark 29 working-directory: ./go-slog 30 run: go test -v -run=none -bench=. -args -useWarnings