Merge pull request #15 from OpenVoxProject/renovate/trapperkeeper-ver… #36
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: PR Testing | |
| on: | |
| pull_request: {} | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| jobs: | |
| pr-testing: | |
| name: PR Testing | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| version: ['17', '21'] | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: checkout repo | |
| uses: actions/checkout@v6 | |
| with: | |
| submodules: recursive | |
| - name: setup java | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'temurin' | |
| java-version: ${{ matrix.version }} | |
| - name: Install Clojure tools | |
| uses: DeLaGuardo/[email protected] | |
| with: | |
| lein: latest | |
| clj-kondo: latest | |
| - name: kondo lint | |
| run: clj-kondo --lint src test | |
| - name: eastwood lint | |
| run: | | |
| java -version | |
| lein eastwood | |
| - name: clojure tests | |
| run: lein test | |
| timeout-minutes: 30 | |
| tests: | |
| if: always() | |
| needs: | |
| - pr-testing | |
| runs-on: ubuntu-24.04 | |
| name: Test suite | |
| steps: | |
| - name: Decide whether the needed jobs succeeded or failed | |
| uses: re-actors/alls-green@release/v1 | |
| with: | |
| jobs: ${{ toJSON(needs) }} |