Bump qs and body-parser #146
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: tests | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| test-type: [clj, cljs] | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Cache Clojure dependencies | |
| uses: actions/cache@v3 | |
| with: | |
| path: ~/.m2 | |
| key: lein-${{ github.job }}-${{ hashFiles('project.clj') }} | |
| restore-keys: | | |
| lein-${{ github.job }} | |
| lein- | |
| - name: Setup Java | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: temurin | |
| java-version: 21 | |
| - name: Setup Clojure | |
| uses: DeLaGuardo/setup-clojure@13.1 | |
| with: | |
| lein: 2.9.5 | |
| - name: Run tests | |
| run: ./scripts/test.sh "${{matrix.test-type}}" | |
| coverage: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Cache Clojure dependencies | |
| uses: actions/cache@v3 | |
| with: | |
| path: ~/.m2 | |
| key: lein-${{ github.job }}-${{ hashFiles('project.clj') }} | |
| restore-keys: | | |
| lein-${{ github.job }} | |
| lein- | |
| - name: Setup Java | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: temurin | |
| java-version: 21 | |
| - name: Setup Clojure | |
| uses: DeLaGuardo/setup-clojure@13.1 | |
| with: | |
| lein: 2.9.5 | |
| - name: Run tests with coverage | |
| run: lein cloverage --codecov | |
| - name: Upload coverage to Codecov | |
| uses: codecov/codecov-action@v3 |