mirror of
https://github.com/luxfi/node.git
synced 2026-07-27 03:39:39 +00:00
33 lines
789 B
YAML
33 lines
789 B
YAML
name: Build + Test Mac-Windows
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- "*" # Push events to every tag
|
|
branches:
|
|
- main
|
|
- dev
|
|
- master
|
|
|
|
jobs:
|
|
run_build_tests:
|
|
name: build_tests
|
|
runs-on: ${{ matrix.os }}
|
|
env:
|
|
GOPRIVATE: github.com/luxfi/*
|
|
GONOSUMDB: github.com/luxfi/*
|
|
CGO_ENABLED: "0"
|
|
GOWORK: off
|
|
strategy:
|
|
matrix:
|
|
os: [windows-latest, macos-latest]
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: ./.github/actions/setup-go-for-project
|
|
- name: Configure Git for private modules
|
|
shell: bash
|
|
run: git config --global url."https://${{ github.token }}@github.com/".insteadOf "https://github.com/"
|
|
- name: build_test
|
|
shell: bash
|
|
run: .github/workflows/build_and_test.sh
|