Add ssl-always-follow-redirect option #796
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: | |
push: | |
branches: | |
- master | |
- 'release-*' | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: "1.22.2" | |
- name: Run build | |
run: make build | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v6 | |
with: | |
version: latest | |
args: --verbose | |
skip-pkg-cache: true | |
skip-build-cache: true | |
- name: Run unit tests | |
run: make test | |
integration: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install dependencies | |
run: sudo apt-get install -y lua-json | |
- name: Install HAProxy | |
uses: timwolla/action-install-haproxy@main | |
id: install-haproxy | |
with: | |
branch: "2.2" | |
use_openssl: yes | |
use_lua: yes | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: "1.22.2" | |
- name: Run integration tests | |
run: make test-integration |