Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport 1.24.x] Update basic github actions #1166

Merged
merged 1 commit into from
Oct 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/backport.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
backport:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
name: Backport
steps:
- name: Backport Bot
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,24 @@ on:
branches:
- main

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
build:

runs-on: ubuntu-latest

steps:
- name: Set up JDK 11
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
java-version: 11
- uses: actions/checkout@v1
distribution: 'temurin'
- uses: actions/checkout@v4
- name: Maven repository caching
uses: actions/cache@v1
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: gwc-integration-${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
Expand Down
25 changes: 16 additions & 9 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,25 @@ name: Linux GitHub CI

on: [pull_request]

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

env:
MAVEN_OPTS: -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Dmaven.wagon.http.retryHandler.count=3 -Xmx512m -Djava.awt.headless=true -Dorg.slf4j.simpleLogger.showDateTime=true -Dorg.slf4j.simpleLogger.dateTimeFormat=HH:mm:ss,SSS

jobs:
openjdk11:
runs-on: [ubuntu-20.04]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
java-version: 11
distribution: 'temurin'
- name: Maven repository caching
uses: actions/cache@v1
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: gwc-${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
Expand All @@ -30,13 +35,14 @@ jobs:
openjdk17:
runs-on: [ubuntu-20.04]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
java-version: 17
distribution: 'temurin'
- name: Maven repository caching
uses: actions/cache@v1
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: gwc-${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
Expand All @@ -51,13 +57,14 @@ jobs:
QA:
runs-on: [ubuntu-20.04]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
java-version: 11
distribution: 'temurin'
- name: Maven repository caching
uses: actions/cache@v1
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: gwc-${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,24 @@ name: Mac OS CI

on: [pull_request]

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
build:

runs-on: [macos-latest]

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
java-version: 11
distribution: 'temurin'
- name: Maven repository caching
uses: actions/cache@v1
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: gs-${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,24 @@ name: Windows GitHub CI

on: [pull_request]

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
build:

runs-on: [windows-latest]

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
java-version: 11
distribution: 'temurin'
- name: Maven repository caching
uses: actions/cache@v1
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: gwc-${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
Expand Down