diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3fcf2b29..fb5ac027 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -65,27 +65,37 @@ jobs: - # Setup & Cache site builder + # Setup & Cache Agda, pandoc, and site builder -# - name: Cache Site Builder -# uses: actions/cache@v2 -# id: cache-site-builder -# with: -# path: $GITHUB_WORKSPACE/.stack-work -# key: ${{ matrix.os }}-ghc-${{ matrix.ghc }}-agda-${{ matrix.agda }} + - name: Cache .stack-work + uses: actions/cache@v2 + id: cache-stack-work + with: + path: $GITHUB_WORKSPACE/.stack-work + key: ${{ matrix.os }}-ghc-${{ matrix.ghc }}-agda-${{ matrix.agda }} -# - name: Build Site Builder -# if: steps.cache-site-builder.outputs.cache-hit != 'true' -# run: make build-deps -# shell: bash + - name: Build Agda + if: steps.cache-stack-work.outputs.cache-hit != 'true' + run: stack build Agda-${{ matrix.agda }} + shell: bash + + - name: Build Pandoc + if: steps.cache-stack-work.outputs.cache-hit != 'true' + run: stack build pandoc-2.10.1 + shell: bash + + - name: Build Site Builder + if: steps.cache-stack-work.outputs.cache-hit != 'true' + run: stack build + shell: bash # Build & Test Website -# - name: Build Website -# run: make build -# shell: bash + - name: Build Website + run: make build + shell: bash -# - name: Test Website -# run: make test -# shell: bash + - name: Test Website + run: make test + shell: bash