chore: bump actions/checkout from 4 to 6 #24
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: "Main / Pull requests build" | |
| on: | |
| pull_request: | |
| paths-ignore: | |
| - '.txt' | |
| - 'LICENSE' | |
| - 'docs/**' | |
| branches: [ main ] | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| pre-commit: | |
| name: Pre-commit check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout git repository | |
| uses: actions/checkout@v6 | |
| - name: Setup python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.9" | |
| - name: Setup Java | |
| uses: ./.github/actions/java-setup | |
| with: | |
| cache: "" | |
| - name: Pre-commit checks | |
| uses: pre-commit/action@v3.0.1 | |
| - name: pre-commit-c-lite | |
| uses: pre-commit-ci/lite-action@v1.1.0 | |
| if: always() | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| needs: [ pre-commit ] | |
| strategy: | |
| fail-fast: true | |
| matrix: | |
| os: [ windows-latest, ubuntu-latest, macos-13 ] | |
| max-parallel: 1 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up JDK | |
| uses: ./.github/actions/java-setup | |
| with: | |
| cache: 'maven' | |
| - name: Build with Maven | |
| run: mvn --no-transfer-progress verify |