Replace registries with new add command which installs from git without filtering
#152
Workflow file for this run
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 | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| test: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, windows-latest] | |
| steps: | |
| # Enables git to use long paths on windows | |
| - name: Enable long paths in Git | |
| run: git config --global core.longpaths true | |
| - uses: actions/checkout@v4 | |
| - uses: dart-lang/setup-dart@v1 | |
| with: | |
| sdk: "3.11.0" | |
| - name: Install Git (Linux) | |
| if: runner.os == 'Linux' | |
| run: sudo apt-get update && sudo apt-get install -y git | |
| - name: Install Git (Windows) | |
| if: runner.os == 'Windows' | |
| run: choco install git -y | |
| - name: Install dependencies | |
| run: dart pub get | |
| - name: Run tests | |
| run: dart test |