Skip to content

Introduce golangci-lint (#77) #103

Introduce golangci-lint (#77)

Introduce golangci-lint (#77) #103

Workflow file for this run

on: [push, pull_request]
name: Test
jobs:
test:
strategy:
matrix:
go-version: [1.22.x, 1.23.x]
os: [ubuntu-latest]
runs-on: ${{matrix.os}}
steps:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ${{matrix.go-version}}
- name: Checkout
uses: actions/checkout@v4
- name: Lint
uses: golangci/golangci-lint-action@v6
- name: go test
run: go test -v ./...
- name: Run example
run: cd example && go build -o http_breaker && ./http_breaker