Skip to content

PROXY protocol support #40

PROXY protocol support

PROXY protocol support #40

Workflow file for this run

name: Go
on:
- push
- pull_request
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: ^1.21
id: go
- uses: actions/checkout@v4
- name: Get dependencies
run: |
go get -v -t -d ./...
if [ -f Gopkg.toml ]; then
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
dep ensure
fi
- name: Build
run: make
env:
CGO_ENABLED: 0
- name: Test
run: |
sudo rm -rf /etc/ssh/sshd_config.d/*.conf
make test
env:
CGO_ENABLED: 0
- name: Create GitHub Release
if: startsWith(github.ref, 'refs/tags/')
id: upload-release-asset
uses: softprops/action-gh-release@v1
with:
files: |
sshmux
config.example.json
sshmux.service