Fix branch name to main in update_scm_breeze #89
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: | |
| strategy: | |
| matrix: | |
| os: | |
| - ubuntu-latest | |
| - macos-latest | |
| test_shell: | |
| - bash | |
| - zsh | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: cachix/[email protected] | |
| with: | |
| github_access_token: ${{ secrets.GITHUB_TOKEN }} | |
| nix_path: nixpkgs=channel:nixos-unstable | |
| - run: | | |
| git config --global init.defaultBranch master | |
| git config --global user.name scm_breeze@scm_breeze | |
| git config --global user.email "SCM Breeze" | |
| - name: test | |
| env: | |
| TEST_SHELLS: ${{ matrix.test_shell }} | |
| run: nix-shell -p ruby $TEST_SHELLS --command ./run_tests.sh | |
| # - run: nix-shell -p shunit2 -i ./run_tests.sh | |
| # - run: nix build | |
| # - run: nix flake check |