Update license for 2024 #72
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: Specs | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: "*" | |
jobs: | |
specs: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
container: | |
image: crystallang/crystal:1.10.0 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install required packages | |
run: | | |
apt-get update | |
apt-get -yqq install libsqlite3-dev cmake build-essential | |
- name: Install shards | |
run: shards install --ignore-crystal-version | |
- name: Cache Crystal | |
uses: actions/cache@v1 | |
with: | |
path: ~/.cache/crystal | |
key: ${{ runner.os }}-crystal | |
- name: Setup .env file | |
run: cp .env.example .env | |
- name: Run tests | |
run: make tests |