Skip to content
Closed
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
12 changes: 6 additions & 6 deletions .github/workflows/codeql-csharp-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ name: "CodeQL C#"
on:
push:
branches:
- master
- branch-1.11
pull_request:
# The branches below must be a subset of the branches above
branches:
- master
- branch-1.11
paths:
- .github/workflows/codeql-csharp-analysis.yml
- lang/csharp/**
Expand Down Expand Up @@ -61,7 +61,7 @@ jobs:

# Install .NET SDKs
- name: Install .NET SDKs
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
3.1.x
Expand All @@ -71,7 +71,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -83,7 +83,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1
uses: github/codeql-action/autobuild@v2

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
Expand All @@ -93,4 +93,4 @@ jobs:
# uses a compiled language

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2
10 changes: 5 additions & 5 deletions .github/workflows/codeql-java-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ on:
workflow_dispatch:
push:
branches:
- master
- branch-1.11
pull_request:
branches:
- master
- branch-1.11
paths:
- .github/workflows/codeql-java-analysis.yml
- lang/java/**
Expand Down Expand Up @@ -61,7 +61,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -73,7 +73,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1
uses: github/codeql-action/autobuild@v2

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
Expand All @@ -83,4 +83,4 @@ jobs:
# uses a compiled language

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2
10 changes: 5 additions & 5 deletions .github/workflows/codeql-js-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ name: "CodeQL JavaScript"
on:
push:
branches:
- master
- branch-1.11
pull_request:
# The branches below must be a subset of the branches above
branches:
- master
- branch-1.11
paths:
- .github/workflows/codeql-js-analysis.yml
- lang/js/**
Expand Down Expand Up @@ -61,7 +61,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -73,7 +73,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1
uses: github/codeql-action/autobuild@v2

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
Expand All @@ -83,4 +83,4 @@ jobs:
# uses a compiled language

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2
10 changes: 5 additions & 5 deletions .github/workflows/codeql-py-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ name: "CodeQL Python"
on:
push:
branches:
- master
- branch-1.11
pull_request:
# The branches below must be a subset of the branches above
branches:
- master
- branch-1.11
paths:
- .github/workflows/codeql-py-analysis.yml
- lang/py/**
Expand Down Expand Up @@ -61,7 +61,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -73,7 +73,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1
uses: github/codeql-action/autobuild@v2

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
Expand All @@ -83,4 +83,4 @@ jobs:
# uses a compiled language

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2
2 changes: 1 addition & 1 deletion .github/workflows/java-publish-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ name: "Publish Snapshot to Maven"
on:
workflow_dispatch:
push:
branches: [ master ]
branches: [ branch-1.11 ]
paths:
- .github/workflows/java-publish-snapshot.yml
- lang/java/**
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/maven4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ name: 'Maven 4'
on:
workflow_dispatch:
push:
branches: [ master ]
branches: [ branch-1.11 ]
pull_request:
branches: [ master ]
branches: [ branch-1.11 ]
paths:
- .github/workflows/maven4.yml
- lang/java/**
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ name: 'Rat'
on:
workflow_dispatch:
push:
branches: [ master ]
branches: [ branch-1.11 ]
pull_request:
branches: [ master ]
branches: [ branch-1.11 ]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/spotless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ name: 'Spotless'
on:
workflow_dispatch:
push:
branches: [ master ]
branches: [ branch-1.11 ]
pull_request:
branches: [ master ]
branches: [ branch-1.11 ]
paths:
- .github/workflows/spotless.yml
- lang/java/**
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-lang-c++.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ name: Test C++
on:
workflow_dispatch:
push:
branches: [ master ]
branches: [ branch-1.11 ]
pull_request:
branches: [ master ]
branches: [ branch-1.11 ]
paths:
- '.github/workflows/test-lang-c\+\+.yml'
- 'lang/c\+\+/**'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-lang-c.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ name: Test C
on:
workflow_dispatch:
push:
branches: [ master ]
branches: [ branch-1.11 ]
pull_request:
branches: [ master ]
branches: [ branch-1.11 ]
paths:
- .github/workflows/test-lang-c.yml
- lang/c/**
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-lang-csharp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ name: 'Test C#'
on:
workflow_dispatch:
push:
branches: [ master ]
branches: [ branch-1.11 ]
pull_request:
branches: [ master ]
branches: [ branch-1.11 ]
paths:
- .github/workflows/test-lang-csharp.yml
- lang/csharp/**
Expand Down
27 changes: 9 additions & 18 deletions .github/workflows/test-lang-java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ name: 'Test Java'
on:
workflow_dispatch:
push:
branches: [ master ]
branches: [ branch-1.11 ]
pull_request:
branches: [ master ]
branches: [ branch-1.11 ]
paths:
- .github/workflows/test-lang-java.yml
- lang/java/**
Expand All @@ -43,8 +43,7 @@ jobs:
- '8'
- '11'
- '17'
- '18'
- '19'
- '21-ea'
steps:
- uses: actions/checkout@v4

Expand All @@ -57,20 +56,11 @@ jobs:
${{ runner.os }}-maven-

- name: Setup Temurin JDK
if: matrix.java == '8' || matrix.java == '11' || matrix.java == '17'
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}

- name: Setup Oracle JDK
if: matrix.java == '18' || matrix.java == '19'
uses: oracle-actions/setup-java@v1
with:
website: jdk.java.net
release: ${{ matrix.java }}
version: latest

- name: Lint
run: ./build.sh lint

Expand All @@ -86,6 +76,7 @@ jobs:
- '8'
- '11'
- '17'
- '21-ea'
steps:
- uses: actions/checkout@v4

Expand All @@ -98,13 +89,13 @@ jobs:
${{ runner.os }}-maven-

- name: Setup Java
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}

- name: Setup Python for Generating Input Data
uses: actions/setup-python@v2
uses: actions/setup-python@v4

- name: Apt Install Compression Libs Required by Python
run: |
Expand All @@ -119,7 +110,7 @@ jobs:
python3 -m pip install python-snappy zstandard

- name: Setup C# for Generating Interop Data
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
3.1.x
Expand Down Expand Up @@ -188,4 +179,4 @@ jobs:
java -version
mvn -version
#MAVEN_OPTS="-Dsurefire.excludes=*TestCustomCodec*,*TestAllCodecs*,*TestNettyServer*" ./build.sh clean test
./build.sh clean test
./build.sh clean test
4 changes: 2 additions & 2 deletions .github/workflows/test-lang-js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ name: 'Test JavaScript'
on:
workflow_dispatch:
push:
branches: [ master ]
branches: [ branch-1.11 ]
pull_request:
branches: [ master ]
branches: [ branch-1.11 ]
paths:
- .github/workflows/test-lang-js.yml
- lang/js/**
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-lang-perl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ name: 'Test Perl'
on:
workflow_dispatch:
push:
branches: [ master ]
branches: [ branch-1.11 ]
pull_request:
branches: [ master ]
branches: [ branch-1.11 ]
paths:
- .github/workflows/test-lang-perl.yml
- lang/perl/**
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-lang-php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ name: 'Test PHP'
on:
workflow_dispatch:
push:
branches: [ master ]
branches: [ branch-1.11 ]
pull_request:
branches: [ master ]
branches: [ branch-1.11 ]
paths:
- .github/workflows/test-lang-php.yml
- lang/php/**
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-lang-py.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ name: 'Test Python'
on:
workflow_dispatch:
push:
branches: [ master ]
branches: [ branch-1.11 ]
pull_request:
branches: [ master ]
branches: [ branch-1.11 ]
paths:
- .github/workflows/test-lang-py.yml
- lang/py/**
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-lang-ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ name: 'Test Ruby'
on:
workflow_dispatch:
push:
branches: [ master ]
branches: [ branch-1.11 ]
pull_request:
branches: [ master ]
branches: [ branch-1.11 ]
paths:
- .github/workflows/test-lang-ruby.yml
- lang/ruby/**
Expand Down
Loading
Loading