Update GitHub Actions to use latest Ubuntu and Python (#299) #1212
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: Test Prologue | |
| on: [push, pull_request] | |
| jobs: | |
| test: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: | |
| - ubuntu-latest | |
| # - windows-latest | |
| # - macOS-latest | |
| nim-version: | |
| - stable | |
| - devel | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Cache choosenim | |
| id: cache-choosenim | |
| uses: actions/cache@v5 | |
| with: | |
| path: ~/.choosenim | |
| key: ${{ runner.os }}-choosenim-${{ matrix.nim-version}} | |
| - name: Cache nimble | |
| id: cache-nimble | |
| uses: actions/cache@v5 | |
| with: | |
| path: ~/.nimble | |
| key: ${{ runner.os }}-nimble-${{ matrix.nim-version}}-${{ hashFiles('prologue.nimble') }} | |
| restore-keys: | | |
| ${{ runner.os }}-nimble-${{ matrix.nim-version}}- | |
| - name: Setup nim | |
| uses: jiro4989/setup-nim-action@v2 | |
| with: | |
| nim-version: ${{ matrix.nim-version }} | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Install Packages | |
| run: nimble install -y | |
| - name: Install extension | |
| run: logue extension all | |
| - name: Test | |
| run: nimble tests | |
| - name: Test kairos backend | |
| run: nimble tkairos |