Skip to content

Feature/test new runner #25

Feature/test new runner

Feature/test new runner #25

Workflow file for this run

name: Test
on:
pull_request:
branches:
- main
- develop
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
goos:
- windows
- linux
goarch:
- amd64
- arm64
env:
GOOS: ${{ matrix.goos }}
GOARCH: ${{ matrix.goarch }}
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.21"
cache: false
- name: Build
run: go build -o ccmanager cmd/ccmanager.go
- name: Run golangci-lint
uses: golangci/[email protected]
testmac:
runs-on: macos-latest # beta arm runner
strategy:
matrix:
goos:
- darwin
goarch:
- amd64
- arm64
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.21"
cache: false
- name: Build
run: go build -o ccmanager cmd/ccmanager.go
- name: Run golangci-lint
uses: golangci/[email protected]