From f4f4b902178417fb5f85bf2530a64e642267d239 Mon Sep 17 00:00:00 2001 From: ldetmer <1771267+ldetmer@users.noreply.github.com> Date: Fri, 20 Dec 2024 16:28:30 -0500 Subject: [PATCH] update CoC --- .github/workflows/ci.yaml | 50 +++++++++++---------------------------- CODE_OF_CONDUCT.md | 2 ++ 2 files changed, 16 insertions(+), 36 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 81aa15b..2da5a79 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,45 +1,23 @@ -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# Github action job to test core java library features on -# downstream client libraries before they are released. +name: Maven Install + on: push: - branches: - - main + branches: [ main ] pull_request: -name: ci + branches: [ main ] + jobs: - units: + build: + runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - java: [8] + steps: - - name: Get current week within the year - id: date - run: echo "::set-output name=week_of_year::$(date +'%W' --utc)" - uses: actions/checkout@v4 - - uses: actions/setup-java@v4 + - name: Set up JDK 11 + uses: actions/setup-java@v4 with: - distribution: temurin - java-version: 11 + java-version: '11' + distribution: 'temurin' cache: maven - - run: java -version - - name: Install Maven modules to local Maven repository - run: | - mvn install -B -ntp -T 1C -DskipTests -Dclirr.skip -Dcheckstyle.skip - - run: java -version - - run: mvn -B -ntp enforcer:enforce@enforce -T 1C - + - name: Build with Maven + run: mvn install -DskipTests diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index 46b2a08..2fa8ccc 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -41,3 +41,5 @@ or contacting one or more of the project maintainers. This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.2.0, available at [http://contributor-covenant.org/version/1/2/0/](http://contributor-covenant.org/version/1/2/0/) + +updated