This repository has been archived by the owner on Jun 11, 2024. It is now read-only.
Update readme #241
Workflow file for this run
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
name: PR CI | |
on: | |
pull_request: | |
permissions: | |
contents: read | |
jobs: | |
check: | |
runs-on: ${{ matrix.system.os }} | |
env: | |
CGO_CFLAGS: -O -D__BLST_PORTABLE__ | |
strategy: | |
matrix: | |
include: | |
- system: | |
os: | |
- self-hosted | |
- macOS | |
- ARM64 | |
target: aarch64-apple-darwin | |
architecture: arm64 | |
rust_version: stable-aarch64-apple-darwin | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version-file: './go.mod' | |
cache: false | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
version: v1.54 | |
- name: format | |
run: | | |
make format | |
if [ -z "$(git status --untracked-files=no --porcelain)" ]; then | |
echo "All files formatted" | |
else | |
echo "Running format is required" | |
exit 1 | |
fi | |
- name: test | |
run: make test | |
- name: build | |
run: make lengine |