name: CI on: push: branches: - master pull_request: types: - opened - synchronize jobs: my_job: runs-on: ${{ matrix.os }} strategy: matrix: os: [ubuntu-latest, macos-latest] steps: - uses: actions/checkout@v3 - uses: cachix/install-nix-action@v20 - run: ./test.sh