fix: pin alpine container image to 3.18.5 #8
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: Test | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
name: Unit tests | |
strategy: | |
matrix: | |
version: [1.19.x] | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.version }} | |
id: go | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- name: Build binary | |
run: make ghostunnel | |
- name: Run tests | |
run: make unit | |
integration-linux: | |
name: Integration tests (Linux) | |
strategy: | |
matrix: | |
version: [1.19] | |
os: [ubuntu-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- name: Run tests | |
run: GO_VERSION=${{ matrix.version }} make docker-test | |
integration-darwin: | |
name: Integration tests (Darwin) | |
strategy: | |
matrix: | |
version: [1.19.x] | |
os: [macos-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.version }} | |
id: go | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.x' | |
- name: Install gocovmerge | |
run: go install github.com/wadey/gocovmerge@latest | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- name: Run tests | |
run: make test |