bitwarden-android/.github/workflows/run-check.yml
renovate[bot] 7c9921382a chore(deps): update gh minor (#66)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-20 17:08:07 +01:00

33 lines
963 B
YAML

---
name: Run Check
on:
pull_request:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
JAVA_VERSION: 17
jobs:
test:
name: Test
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
with:
fetch-depth: 0
# Allow subsequent steps to trigger GitHub Actions via git push
# https://github.community/t/push-from-action-even-with-pat-does-not-trigger-action/17622
persist-credentials: false
- name: Configure JDK
uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # v3.13.0
with:
distribution: 'temurin'
java-version: ${{ env.JAVA_VERSION }}
- name: Build and Run Check
# Run checks while excluding release-build tests, which are not configured to work properly
# with the Compose testing library.
run: ./gradlew check -x testRelease