Skip to content

Commit

Permalink
Update basic github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
aaime authored and github-actions[bot] committed Sep 27, 2023
1 parent f45e687 commit 508daea
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 19 deletions.
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

0 comments on commit 508daea

Please sign in to comment.