Skip to content

Add LRU cache for JSONPointerToSlice and DotPathToSlice. #26

Add LRU cache for JSONPointerToSlice and DotPathToSlice.

Add LRU cache for JSONPointerToSlice and DotPathToSlice. #26

Workflow file for this run

name: Test
on:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: 1.18.x
- name: Checkout code
uses: actions/checkout@v3
- name: Tidy
run: go mod tidy && git diff-index --quiet HEAD || { >&2 echo "Stale go.{mod,sum} detected. This can be fixed with 'go mod tidy'."; exit 1; }
- name: Test
run: go test -count 100 ./...
golangci-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Lint
uses: golangci/golangci-lint-action@v3
with:
version: latest
args: --timeout 10m