This repository has been archived by the owner on Jan 13, 2024. It is now read-only.
fix(deps): update testcontainers-java monorepo to v1.19.3 #1191
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
# 🧶 remi: Robust, and simple Java-based library to handle storage-related communications with different storage provider. | |
# Copyright (c) 2022-2023 Noelware, LLC. <team@noelware.org> | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
# copies of the Software, and to permit persons to whom the Software is | |
# furnished to do so, subject to the following conditions: | |
# | |
# The above copyright notice and this permission notice shall be included in all | |
# copies or substantial portions of the Software. | |
# | |
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | |
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | |
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | |
# SOFTWARE. | |
name: Linting and Unit Testing | |
on: | |
workflow_dispatch: {} | |
pull_request: | |
types: [synchronize, opened] | |
branches: | |
- 'issue/gh-**' | |
- 'feat/**' | |
- master | |
paths-ignore: | |
- '.github/**' | |
- '.husky/**' | |
- '.vscode/**' | |
- 'assets/**' | |
- 'locales/**' | |
- 'docker/**' | |
- '.dockerignore' | |
- '.eslintignore' | |
- '.gitignore' | |
- '**.md' | |
- 'LICENSE' | |
- 'renovate.json' | |
push: | |
branches: | |
- 'issue/gh-**' | |
- 'feat/**' | |
- master | |
paths-ignore: | |
- '.github/**' | |
- '.husky/**' | |
- '.vscode/**' | |
- 'assets/**' | |
- 'locales/**' | |
- 'docker/**' | |
- '.dockerignore' | |
- '.eslintignore' | |
- '.gitignore' | |
- '**.md' | |
- 'LICENSE' | |
- 'renovate.json' | |
jobs: | |
spotless: | |
name: Spotless [Java ${{matrix.java-version}}] | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java-version: [17, 20] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Setup Java ${{matrix.java-version}} | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{matrix.java-version}} | |
distribution: temurin | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v2 | |
- name: Validate Gradle Wrapper | |
uses: gradle/wrapper-validation-action@v1 | |
- name: Upload Google Credentials in ~/.google-creds.json | |
run: echo "${{secrets.GOOGLE_CREDENTIALS_JSON}}" >> ~/.google-creds.json | |
- name: Lint code-base with Spotless | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: spotlessCheck --no-daemon --scan | |
- name: Compiles Java source sets | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: compileJava --no-daemon --scan | |
- name: Run all unit tests | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: test --no-daemon --scan |