CI: Travis -> GitHub Actions; Create Release Binaries and Container Images #31
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: Go Build Matrix | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
permissions: | |
contents: read | |
pull-requests: read | |
jobs: | |
cross: | |
name: Build on ${{ matrix.os }} with Go ${{ matrix.go-version }} | |
runs-on: ${{ matrix.os }} | |
env: | |
CGO_ENABLED: 0 | |
strategy: | |
matrix: | |
app: | |
- pebble | |
- pebble-challtestsrv | |
go-version: | |
- oldstable | |
- stable | |
os: | |
- ubuntu-latest | |
- macos-latest | |
- windows-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Build ${{ matrix.app }} | |
run: go build -v ./cmd/${{ matrix.app}} |