Include GitHub authentication token while setting up protoc. #137
This file contains 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
on: | |
- push | |
- pull_request | |
name: cabal build | |
jobs: | |
runhaskell: | |
name: cabal test | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
version: | |
- ghc: 9.10.1 | |
cabal: 3.12.1.0 | |
steps: | |
- uses: actions/checkout@v4.2.2 | |
with: | |
submodules: true | |
- uses: haskell-actions/setup@bbd90a29996ac33b1c644a42206e312fc0379748 # v2.7.9 | |
with: | |
ghc-version: ${{ matrix.version.ghc }} | |
cabal-version: ${{ matrix.version.cabal }} | |
- run: cabal build --dependencies-only --project-file ghc${{ matrix.version.ghc }}.cabal.project all | |
- run: cabal build --project-file ghc${{ matrix.version.ghc }}.cabal.project all | |
- run: cabal test --project-file ghc${{ matrix.version.ghc }}.cabal.project all |