Skip to content

docs: install Keploy without writing a script in the working directory #626

docs: install Keploy without writing a script in the working directory

docs: install Keploy without writing a script in the working directory #626

Workflow file for this run

name: golangci-lint
on:
push:
branches:
- master
- main
pull_request:
types: [opened, edited, synchronize, reopened]
permissions:
contents: read
# Optional: allow read access to pull request. Use with `only-new-issues` option.
pull-requests: read
# cancel the in-progress workflow when PR is refreshed.
concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
cancel-in-progress: true
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
working-directory:
- aerospike-tls
- book-store-inventory
- connect-tunnel
- dns-dedup
- dns-mock-test
- echo-mysql
- echo-sql
- fasthttp-postgres
- gin-mongo
- gin-redis
- go-dedup
- go-docker-timefreeze
- go-grpc
- go-jwt
- go-memory-load
- go-memory-load-grpc
- go-memory-load-mongo
- go-memory-load-mysql
- go-redis
- go-twilio
- graphql-sql
- grpc-mongo
- grpc-secret
- http-pokeapi
- http-postgres
- http-sse
- mux-elasticsearch
- mux-mysql
- mux-sql
- proxy-stress-test
- risk-profile
- S3-Keploy
- simple-grpc
- sqs-samples
- sse-preflight
- sse-redis
- sse-svelte
- tls-dadjoke
- users-profile
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
# Pinned deliberately, NOT 'stable'. golangci-lint reads the
# compiler's export data, and each Go release can bump that format:
# a floating toolchain silently outran the pinned linter and broke
# every job in this matrix with "export data version 4 is greater
# than maximum supported version 2" -- with no change to any sample.
# Bumping Go here must be a deliberate edit paired with the linter
# version below. Pinned to the patch release too: '1.27' floated to
# 1.27.2, whose export data (version 5) v2.13.2 cannot read
# ("export data version 5 is greater than maximum supported
# version 4"), and every job broke again with no change to a sample.
go-version: '1.27.1'
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@v8
with:
# Keep in step with go-version above; see the note there.
version: v2.13.2
# Optional: working directory, useful for monorepos
working-directory: ${{matrix.working-directory}}