Update google-cloud-storage to 2.47.0 #1633
This file contains 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: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
jvm: | |
strategy: | |
fail-fast: false | |
matrix: | |
java: [11, 8] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: "${{ matrix.java }}" | |
cache: sbt | |
- uses: sbt/setup-sbt@v1 | |
- run: sbt +testsJVM/test plugin/test | |
env: | |
GOOGLE_APPLICATION_CREDENTIALS: | |
${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }} | |
GOOGLE_APPLICATION_CREDENTIALS_JSON: | |
${{ secrets.GOOGLE_APPLICATION_CREDENTIALS_JSON }} | |
js: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: 8 | |
cache: sbt | |
- uses: sbt/setup-sbt@v1 | |
- run: sbt +testsJS/test | |
env: | |
GOOGLE_APPLICATION_CREDENTIALS: | |
${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }} | |
GOOGLE_APPLICATION_CREDENTIALS_JSON: | |
${{ secrets.GOOGLE_APPLICATION_CREDENTIALS_JSON }} | |
jsdom: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: 8 | |
cache: sbt | |
- uses: sbt/setup-sbt@v1 | |
- run: npm install | |
- run: sbt +testsJS/test | |
env: | |
GOOGLE_APPLICATION_CREDENTIALS: | |
${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }} | |
GOOGLE_APPLICATION_CREDENTIALS_JSON: | |
${{ secrets.GOOGLE_APPLICATION_CREDENTIALS_JSON }} | |
native: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: 8 | |
cache: sbt | |
- uses: sbt/setup-sbt@v1 | |
- run: sbt +testsNative/test | |
env: | |
GOOGLE_APPLICATION_CREDENTIALS: | |
${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }} | |
GOOGLE_APPLICATION_CREDENTIALS_JSON: | |
${{ secrets.GOOGLE_APPLICATION_CREDENTIALS_JSON }} | |
windows: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: 8 | |
cache: sbt | |
- uses: sbt/setup-sbt@v1 | |
- run: sbt +testsJVM/test | |
shell: bash | |
env: | |
GOOGLE_APPLICATION_CREDENTIALS: | |
${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }} | |
GOOGLE_APPLICATION_CREDENTIALS_JSON: | |
${{ secrets.GOOGLE_APPLICATION_CREDENTIALS_JSON }} | |
mima: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: 8 | |
cache: sbt | |
- uses: sbt/setup-sbt@v1 | |
- run: sbt mimaReportBinaryIssues | |
scalafmt: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: 8 | |
cache: sbt | |
- uses: sbt/setup-sbt@v1 | |
- run: ./bin/scalafmt --check | |
docs: | |
name: Scalafix and Docs | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: 11 | |
cache: sbt | |
- uses: sbt/setup-sbt@v1 | |
- run: sbt scalafixCheckAll | |
- run: sbt docs/docusaurusCreateSite | |
env: | |
GOOGLE_APPLICATION_CREDENTIALS: | |
${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }} | |
GOOGLE_APPLICATION_CREDENTIALS_JSON: | |
${{ secrets.GOOGLE_APPLICATION_CREDENTIALS_JSON }} |