build(deps): bump github.com/go-git/go-git/v5 from 5.4.2 to 5.8.1 #172
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
on: [push, pull_request] | |
name: Go Cross-compile | |
jobs: | |
test: | |
strategy: | |
matrix: | |
go-version: ['1.19', '1.20'] | |
platform: [ubuntu-latest] | |
fail-fast: false | |
runs-on: ${{ matrix.platform }} | |
env: | |
GO111MODULE: on | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Checkout code | |
uses: actions/checkout@v1 | |
- name: Cross-compile | |
run: | | |
GOOS=freebsd go build ./... | |
GOOS=openbsd go build ./... | |
GOOS=netbsd go build ./... | |
GOOS=dragonfly go build ./... | |
GOOS=solaris go build ./... | |
GOOS=illumos go build ./... | |
GOOS=plan9 go build ./... | |
#GOOS=js GOARCH=wasm go build ./... # go-billy build fails | |
shell: bash |