build: bump to crystal 1.18.2 #89
This file contains hidden or 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: CI | |
| permissions: {} | |
| on: | |
| push: | |
| branches: | |
| - '**' | |
| paths-ignore: | |
| - "**.md" | |
| pull_request: | |
| branches: | |
| - '**' | |
| paths-ignore: | |
| - "**.md" | |
| schedule: | |
| - cron: '0 4 1 * *' | |
| # Run workflow manually | |
| workflow_dispatch: | |
| jobs: | |
| ameba: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Git checkout | |
| uses: actions/checkout@v6 | |
| with: | |
| persist-credentials: false | |
| - name: Setup Crystal | |
| uses: crystal-lang/install-crystal@v1 | |
| with: | |
| crystal: 1.18.2 | |
| - name: Install dependencies | |
| run: make deps | |
| - name: Run tests | |
| run: make ameba | |
| test_linux: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Git checkout | |
| uses: actions/checkout@v6 | |
| with: | |
| persist-credentials: false | |
| - name: Setup Crystal | |
| uses: crystal-lang/install-crystal@v1 | |
| with: | |
| crystal: 1.18.2 | |
| - name: Install dependencies | |
| run: make deps | |
| - name: Run tests | |
| run: make spec | |
| test_macos_arm64: | |
| runs-on: macos-26 | |
| steps: | |
| - name: Git checkout | |
| uses: actions/checkout@v6 | |
| with: | |
| persist-credentials: false | |
| - name: Setup Crystal | |
| uses: crystal-lang/install-crystal@v1 | |
| with: | |
| crystal: 1.18.2 | |
| - name: Install dependencies | |
| run: make deps | |
| - name: Run tests | |
| run: make spec | |
| test_macos_amd64: | |
| runs-on: macos-26-intel | |
| steps: | |
| - name: Git checkout | |
| uses: actions/checkout@v6 | |
| with: | |
| persist-credentials: false | |
| - name: Setup Crystal | |
| uses: crystal-lang/install-crystal@v1 | |
| with: | |
| crystal: 1.18.2 | |
| - name: Install dependencies | |
| run: make deps | |
| - name: Run tests | |
| run: make spec |