Skip to content

Add OmitEmpty option to Encoder (#29) #3

Add OmitEmpty option to Encoder (#29)

Add OmitEmpty option to Encoder (#29) #3

Workflow file for this run

name: CI
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: nixbuild/nix-quick-install-action@v34
- name: Restore and cache Nix store
uses: nix-community/cache-nix-action@v6.1.3
with:
primary-key: nix-${{ runner.os }}-${{ hashFiles('shell.nix') }}
- name: Format check
run: nix-shell --run "test -z \$(gofmt -l .)"
- name: Build
run: nix-shell --run "go build ./..."
- name: Test
run: nix-shell --run "go test -v -cover ./..."
- name: Vet
run: nix-shell --run "go vet ./..."