Move format and lint-fix from ci.yml to format.yml #316
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 | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| build-and-test-windows: | |
| runs-on: windows-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| persist-credentials: true | |
| - name: Build interpreter and extensions | |
| run: .\build.ps1 | |
| - name: Run tests | |
| run: .\tests\test.ps1 | |
| build-and-test-ubuntu: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y clang lld powershell | |
| - name: Build interpreter and extensions | |
| shell: pwsh | |
| run: ./build.ps1 | |
| - name: Run tests | |
| shell: pwsh | |
| run: ./tests/test.ps1 |