Skip to content

Temporary enable gha for pr-20 branch #1

Temporary enable gha for pr-20 branch

Temporary enable gha for pr-20 branch #1

Workflow file for this run

name: Build
on:
push:
branches: [ master, pr-20 ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ${{ matrix.os }}
env:
GO_VERSION: 1.20
GOARCH: amd64
strategy:
matrix:
include:
- os: macos-latest
GOOS: darwin
- os: ubuntu-latest
GOOS: windows
- os: ubuntu-latest
GOOS: linux
- os: ubuntu-latest
GOOS: freebsd
- os: ubuntu-latest
GOOS: openbsd
- os: ubuntu-latest
GOOS: netbsd
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/[email protected]
with:
go-version: ${{ env.GO_VERSION }}
- name: Build
env:
GOOS: ${{ matrix.GOOS }}
run: |
go build ./example/main.go
ls -la