Pin GitHub Actions dependencies, switch to weekly update schedule #425
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: build | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| push: | |
| paths-ignore: | |
| - '**.md' | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| java: [ '11', '17', '19', '20' ] | |
| architecture: [ 'x64' ] | |
| name: Build with JDK ${{ matrix.java }} on ${{ matrix.architecture }} | |
| steps: | |
| - uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0 | |
| - name: Setup JDK | |
| uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1 | |
| with: | |
| distribution: 'zulu' | |
| java-version: ${{ matrix.java }} | |
| architecture: ${{ matrix.architecture }} | |
| cache: 'maven' | |
| - name: Build with Maven | |
| run: mvn --no-transfer-progress --batch-mode verify |