Skip to content

fix: lint error in download task #10

fix: lint error in download task

fix: lint error in download task #10

Workflow file for this run

name: Pre Merge Checks
on:
push:
branches:
- main
pull_request:
branches:
- '*'
jobs:
gradle:
strategy:
matrix:
os: [ ubuntu-latest, macos-latest ]
runs-on: ${{ matrix.os }}
env:
GRADLE_PUBLISH_KEY: ${{ secrets.GRADLE_PUBLISH_KEY }}
GRADLE_PUBLISH_SECRET: ${{ secrets.GRADLE_PUBLISH_SECRET }}
if: ${{ !contains(github.event.head_commit.message, 'ci skip') }}
steps:
- name: Checkout Repo
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- name: Cache Gradle Caches
uses: gradle/gradle-build-action@v3
- name: Run Gradle tasks
run: ./gradlew preMerge --continue
# We do a run of the new task `templateExample` created by the plugin
- name: create test google application credentials
env:
GOOGLE_APPLICATION_CREDENTIALS_JSON: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS_JSON }}
run: echo $GOOGLE_APPLICATION_CREDENTIALS_JSON | base64 -d > ./example/build/credentials.json
- name: Run the plugin
run: GOOGLE_APPLICATION_CREDENTIALS=./example/build/credentials.json ./gradlew gsheetDownload
if: success()
# And we verify that the output of the file is correct.
- name: Verify the plugin output
run: test -e ./example/build/test.csv
if: success()