licencing update #5
This file contains hidden or 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: BUILD | |
on: | |
push: | |
branches: | |
- '**' | |
paths: | |
- 'go.mod' | |
- 'Makefile' | |
- 'monocypher.go' | |
- 'monocypher.yml' | |
- '.github/workflows/build.yaml' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} | |
jobs: | |
build-monocypher: | |
name: Test Monocypher Across Different OSs | |
runs-on: ${{ matrix.os }}-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
os: ["windows", "ubuntu", "macos"] | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v4 | |
- name: Setup Go 1.22 🦫 | |
uses: actions/setup-go@v5 | |
with: | |
go-version: "^1.22.10" | |
- name: Install C-for-GO Package 📦 | |
run: go install github.com/xlab/c-for-go@latest | |
- name: Generate Monocypher 👾 | |
run: make generate | |
- name: Build Monocypher 🏗️ | |
run: make build |