Upgrade gradle/actions to v5.0.0 #940
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: run-tests | |
| on: [push,pull_request] | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Login to Docker Hub | |
| uses: docker/login-action@v3 | |
| with: | |
| username: ${{ secrets.DOCKERHUB_USERNAME }} | |
| password: ${{ secrets.DOCKERHUB_TOKEN }} | |
| - uses: juarezr/firebirdsql-github-action@v2.0.1 | |
| with: | |
| version: '5.0.2' | |
| firebird_root_password: 'masterkey' | |
| enable_legacy_client_auth: 'true' | |
| firebird_conf: 'WireCrypt=Enabled' | |
| - uses: actions/checkout@v4 | |
| - name: Set up Java 17 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '17' | |
| distribution: 'temurin' | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@4d9f0ba0025fe599b4ebab900eb7f3a1d93ef4c2 | |
| with: | |
| cache-read-only: ${{ github.ref != 'refs/heads/Branch_6_0' }} | |
| - name: Build with Gradle | |
| run: ./gradlew test -Ptest.dbondocker=true -Ptest.db.dir=/var/lib/firebird/data | |
| - name: Store Report Artifact | |
| uses: actions/upload-artifact@v4 | |
| if: always() | |
| with: | |
| name: report-artifacts | |
| path: build/reports | |
| compression-level: 9 | |
| retention-days: 7 |