Skip to content

Update build.yaml

Update build.yaml #6

Workflow file for this run

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: ["ubuntu"]
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