Move methods about cache busting parameters from the controller code to the model code #702
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: CI | |
| on: | |
| push: | |
| branches: | |
| - develop | |
| - release/* | |
| pull_request: | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, ubuntu-22.04] | |
| java: [jdk17, jdk21, jdk25, graalvm] | |
| fail-fast: false | |
| steps: | |
| - name: Check out the repository | |
| uses: actions/checkout@v4 | |
| - name: Test in Linux JDK 17 (LTS) | |
| if: matrix.os == 'ubuntu-latest' && matrix.java == 'jdk17' | |
| run: docker compose -f docker/Linux-JDK17/compose.yaml up --build --exit-code-from cantaloupe | |
| - name: Test in Linux JDK 25 (LTS) | |
| if: matrix.os == 'ubuntu-latest' && matrix.java == 'jdk25' | |
| run: docker compose -f docker/Linux-JDK25/compose.yaml up --build --exit-code-from cantaloupe | |
| - name: Test in Linux JDK 21 (LTS) | |
| if: matrix.os == 'ubuntu-latest' && matrix.java == 'jdk21' | |
| run: docker compose -f docker/Linux-JDK21/compose.yaml up --build --exit-code-from cantaloupe | |
| - name: Test in Linux GraalVM | |
| if: matrix.os == 'ubuntu-latest' && matrix.java == 'graalvm' | |
| run: docker compose -f docker/Linux-GraalVM-JDK21/compose.yaml up --build --exit-code-from cantaloupe | |
| # Only test one java version on Jammy | |
| - name: Test in Ubuntu Jammy | |
| if: matrix.os == 'ubuntu-22.04' && matrix.java == 'jdk21' | |
| run: docker compose -f docker/ubuntu/jammy/compose.yaml up --build --exit-code-from cantaloupe | |
| - name: Test in Windows JDK 17 (LTS) | |
| if: matrix.os == 'windows-latest' && matrix.java == 'jdk17' | |
| run: docker compose -f docker/Windows-JDK17/compose.yaml up --build --exit-code-from cantaloupe | |
| - name: Test in Windows JDK 25 (non-LTS) | |
| if: matrix.os == 'windows-latest' && matrix.java == 'jdk25' | |
| run: docker compose -f docker/Windows-JDK25/compose.yaml up --build --exit-code-from cantaloupe | |
| - name: Test in Windows JDK 21 (LTS) | |
| if: matrix.os == 'windows-latest' && matrix.java == 'jdk21' | |
| run: docker compose -f docker/Windows-JDK21/compose.yaml up --build --exit-code-from cantaloupe | |
| # TODO: Windows+GraalVM |