#890 Replace Permission#checkGuard with SecurityManager#checkPermission #839
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
| # SPDX-FileCopyrightText: Copyright 2022-2025 Mark Rotteveel | |
| # SPDX-License-Identifier: LGPL-2.1-or-later | |
| 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/[email protected] | |
| 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@8379f6a1328ee0e06e2bb424dadb7b159856a326 | |
| with: | |
| cache-read-only: ${{ github.ref != 'refs/heads/master' }} | |
| - 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 |