Support setting gpt name in mocker.json #61
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: Crystal CI | |
on: | |
push: | |
branches: ["main"] | |
paths: | |
- "src/**" | |
pull_request: | |
branches: ["main"] | |
paths: | |
- "src/**" | |
schedule: | |
- cron: "0 0 * * 1" # Every Monday 8 AM CST | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
crystal: [latest, nightly] | |
include: | |
- os: ubuntu-latest | |
crystal: 1.8.0 | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Download source | |
uses: actions/checkout@v4 | |
- name: Install Crystal | |
uses: crystal-lang/install-crystal@v1 | |
with: | |
crystal: ${{ matrix.crystal }} | |
- name: Install shards | |
run: shards install | |
- name: Run tests | |
run: crystal spec --order=random | |
- name: Build | |
run: shards build |