Skip to content

fix: [CHAOS-3608]: Fixed vulnerabilities in toxiproxy-server/cli #31

fix: [CHAOS-3608]: Fixed vulnerabilities in toxiproxy-server/cli

fix: [CHAOS-3608]: Fixed vulnerabilities in toxiproxy-server/cli #31

Workflow file for this run

---
name: Test
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
go: ["1.20", "1.19"]
name: go ${{ matrix.go }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}
check-latest: true
cache: true
- name: Tests
run: make test
- name: benchmarks
run: make bench
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup go
uses: actions/setup-go@v4
with:
go-version: "1.20"
check-latest: true
cache: true
- name: E2E tests
run: make test-e2e
- name: Build
uses: goreleaser/goreleaser-action@7ec5c2b0c6cdda6e8bbb49444bc797dd33d74dd8
with:
distribution: goreleaser
version: latest
args: build --snapshot --rm-dist --skip-post-hooks --skip-validate --single-target
env:
GOOS: linux