Skip to content
This repository has been archived by the owner on Jun 8, 2023. It is now read-only.

fix(deps): update dependency com.google.protobuf:protobuf-gradle-plugin to v0.9.3 #426

fix(deps): update dependency com.google.protobuf:protobuf-gradle-plugin to v0.9.3

fix(deps): update dependency com.google.protobuf:protobuf-gradle-plugin to v0.9.3 #426

Workflow file for this run

# 🐻‍❄️🌂 analytics-jvm: Client and server implementation of Noelware Analytics in Java, supported for both Java and Kotlin
# Copyright (c) 2022 Noelware <[email protected]>
#
# 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: {}
push:
branches:
- 'issue/gh-**'
- 'feat/**'
- master
paths-ignore:
- '.github/**'
- '.husky/**'
- '.vscode/**'
- 'assets/**'
- 'locales/**'
- 'docker/**'
- '.dockerignore'
- '.eslintignore'
- '.gitignore'
- '**.md'
- 'LICENSE'
- 'renovate.json'
pull_request:
branches:
- 'issue/gh-**'
- 'feat/**'
- master
paths-ignore:
- '.github/**'
- '.husky/**'
- '.vscode/**'
- 'assets/**'
- 'locales/**'
- 'docker/**'
- '.dockerignore'
- '.eslintignore'
- '.gitignore'
- '**.md'
- 'LICENSE'
- 'renovate.json'
jobs:
spotless:
name: Spotless [${{matrix.runner}}, Java ${{matrix.java-version}}]
runs-on: ${{matrix.runner}}
strategy:
matrix:
java-version: [17, 19]
runner: [ubuntu-latest, self-hosted]
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
architecture: ${{matrix.runner == 'self-hosted' && 'aarch64' || 'amd64'}}
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
- name: Lint code-base with Spotless
uses: gradle/gradle-build-action@v2
with:
arguments: spotlessCheck --no-daemon --scan
- name: Compiles Kotlin source sets
uses: gradle/gradle-build-action@v2
with:
arguments: compileKotlin --no-daemon --scan
- name: Compiles Java source sets
uses: gradle/gradle-build-action@v2
with:
arguments: compileJava --no-daemon --scan
- name: Run unit and integration tests
uses: gradle/gradle-build-action@v2
with:
arguments: test --no-daemon --scan