Skip to content

Merge pull request #36 from runwaylab/bump-version #276

Merge pull request #36 from runwaylab/bump-version

Merge pull request #36 from runwaylab/bump-version #276

Workflow file for this run

name: build
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
jobs:
build:
name: build
strategy:
matrix:
# https://github.com/actions/runner-images#available-environments
# https://github.com/crystal-lang/crystal/issues/13846#issuecomment-2095027170
os: [ubuntu-latest, macos-13]
runs-on: ${{ matrix.os }}
steps:
- name: checkout
uses: actions/checkout@v4
- name: fetch crystal version
id: crystal-version
run: echo "crystal=$(cat .crystal-version)" >> $GITHUB_OUTPUT
- name: install crystal
uses: crystal-lang/[email protected]
with:
crystal: ${{ steps.crystal-version.outputs.crystal }}
- name: bootstrap
run: script/bootstrap --ci
- name: build
run: script/build