Skip to content

feat(routes): add

feat(routes): add #10

Workflow file for this run

name: Lint and Test
on:
pull_request:
push:
branches: [master]
jobs:
lint_and_test:
name: Lint and Test - 1.23.x
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: 1.23.x
cache: false
- name: Checkout code
uses: actions/checkout@v4
- name: Lint package
uses: golangci/golangci-lint-action@v8
with:
version: latest
- name: Test package
run: |
go test -v ./test -coverprofile=coverage.txt -covermode count
go tool cover -func coverage.txt
- name: Update coverage report
uses: ncruces/go-coverage-report@v0.3.0
with:
report: 'true'
amend: 'true'
reuse-go: 'true'
if:
github.event_name == 'push'
continue-on-error: true