Skip to content

Update project baseline to the latest version and style #19

Update project baseline to the latest version and style

Update project baseline to the latest version and style #19

Workflow file for this run

name: Run tests on a pull request
on: pull_request
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Fetch Sources
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Validate Gradle Wrapper
uses: gradle/actions/wrapper-validation@v3
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 21
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0'
bundler-cache: true
- name: Run lint and unit test
run: |
cat libpng_version | xargs ./download_libpng_and_apply_apng_patch.sh
./gradlew --continue :apng-drawable:testDebugUnitTest :apng-drawable:lintDebug :apng-drawable:ktlintMainSourceSetCheck
- name: Run Danger
if: ${{ cancelled() != true }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
JOB_STATUS: ${{ job.status }}
run: bundle exec danger --remove-previous-comments --fail-on-errors=true