···4141# Don't ignore this file itself, or other specific dotfiles
4242!.gitignore
4343!.github/
4444+!.tangled/
4445!.golangci.yaml
45464647# Don't commit your (default location) creds
+17
.tangled/workflows/build.yml
···11+when:
22+ - event: push
33+ branch: main
44+55+dependencies:
66+ nixpkgs:
77+ - gcc
88+ - gnumake
99+ - go
1010+1111+steps:
1212+1313+ - name: build
1414+ command: make build
1515+1616+1717+
+16
.tangled/workflows/lint.yml
···11+when:
22+ - event: push
33+ branch: main
44+55+dependencies:
66+ nixpkgs:
77+ - go
88+ - gnumake
99+ - gcc
1010+1111+steps:
1212+ - name: lint
1313+ command: make lint
1414+1515+1616+
+29
.tangled/workflows/lint_build_test.yml
···11+when:
22+ - event: push
33+ branch: ["main", "ci"]
44+55+dependencies:
66+ nixpkgs:
77+ - go
88+ - gnumake
99+ - gcc
1010+1111+steps:
1212+ - name: fetch deps
1313+ command: go mod tidy
1414+1515+ - name: lint
1616+ command: |
1717+ ls
1818+ echo "$GOPATH"
1919+ make lint
2020+2121+ - name: build
2222+ command: make build
2323+2424+ - name: test
2525+ command: |
2626+ make test
2727+2828+2929+
+16
.tangled/workflows/test.yml
···11+when:
22+ - event: push
33+ branch: main
44+55+dependencies:
66+ nixpkgs:
77+ - gcc
88+ - gnumake
99+ - go
1010+1111+steps:
1212+1313+ - name: test
1414+ command: make test
1515+1616+
+1-1
Makefile
···1122-SHELL = /bin/bash
22+SHELL = bash
33.SHELLFLAGS = -o pipefail -c
4455# base path for Lexicon document tree (for lexgen)