Skip to content

Commit c6e9190

Browse files
committed
Update GHA workflows
1 parent cb34ae6 commit c6e9190

File tree

5 files changed

+39
-15
lines changed

5 files changed

+39
-15
lines changed

.github/workflows/auto-check_cpp_files.yml

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,25 +12,33 @@ jobs:
1212
steps:
1313
- name: Checkout
1414
uses: actions/checkout@v4
15-
- name: Checkout C++
15+
16+
- name: Checkout C++
1617
uses: actions/checkout@v4
1718
with:
1819
repository: apache/datasketches-cpp
1920
path: cpp
20-
- name: Setup Java
21+
22+
- name: Setup Java
2123
uses: actions/setup-java@v4
2224
with:
2325
java-version: '11'
2426
distribution: 'temurin'
25-
- name: Configure C++ build
27+
28+
- name: Configure C++ build
2629
run: cd cpp/build && cmake .. -DGENERATE=true
27-
- name: Build C++ unit tests
30+
31+
- name: Build C++ unit tests
2832
run: cd cpp && cmake --build build --config Release
33+
2934
- name: Run C++ tests
3035
run: cd cpp && cmake --build build --config Release --target test
31-
- name: Make dir
36+
37+
- name: Make dir
3238
run: mkdir -p serialization_test_data/cpp_generated_files
33-
- name: Copy files
39+
40+
- name: Copy files
3441
run: cp cpp/build/*/test/*_cpp.sk serialization_test_data/cpp_generated_files
35-
- name: Run Java tests
42+
43+
- name: Run Java tests
3644
run: mvn test -P check-cpp-files

.github/workflows/auto-jdk-matrix.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ jobs:
6464
-Dgpg.skip=true
6565
6666
# Architecture options: x86, x64, armv7, aarch64, ppc64le
67-
# setup-java@v3 has a "with cache" option
67+
# setup-java@v4 has a "with cache" option
6868
# Lifecycle: validate, compile, test, package, verify, install, deploy
69-
# -B batch mode
69+
# -B batch mode, never stops for user input
7070
# -V show Version without stopping
7171
# -X debug mode
7272
# -q quiet, only show errors

.github/workflows/auto-os-matrix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: DataSketches-Java 8 Auto OS Matrix Test & Install
1+
name: DataSketches-Java Auto OS Matrix Test & Install
22

33
on:
44
pull_request:

.github/workflows/manual-codeql-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ jobs:
3939
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
4040
# If this step fails, then you should remove it and run the build manually (see below)
4141
- name: Autobuild
42-
uses: github/codeql-action/autobuild@v3
42+
uses: github/codeql-action/autobuild@v4
4343

44-
# ℹ️ Command-line programs to run using the OS shell.
45-
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
44+
# Command-line programs to run using the OS shell.
45+
# See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
4646

4747
# If the Autobuild fails above, remove it and uncomment the following three lines.
4848
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
@@ -52,6 +52,6 @@ jobs:
5252
# ./location_of_script_within_repo/buildscript.sh
5353

5454
- name: Perform CodeQL Analysis
55-
uses: github/codeql-action/analyze@v3
55+
uses: github/codeql-action/analyze@v4
5656
with:
5757
category: "/language:${{matrix.language}}"

.github/workflows/manual-javadoc.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,29 @@ on:
66
jobs:
77
javadoc:
88
runs-on: ubuntu-latest
9+
910
steps:
1011
- name: Checkout
1112
uses: actions/checkout@v4
13+
14+
- name: Setup Java
15+
uses: actions/setup-java@v4
16+
with:
17+
java-version: '1.8'
18+
distribution: 'temurin'
19+
20+
- name: Echo Java Version
21+
run: java -version
22+
23+
- name: Print Current workflow
24+
run: >
25+
cat .github/workflows/manual-javadoc.yml
26+
1227
- name: Generate JavaDoc
1328
run: mvn javadoc:javadoc
29+
1430
- name: Deploy JavaDoc
15-
uses: JamesIves/github-pages-deploy-action@5dc1d5a192aeb5ab5b7d5a77b7d36aea4a7f5c92
31+
uses: JamesIves/github-pages-deploy-action@v4.6.8
1632
with:
1733
token: ${{ secrets.GITHUB_TOKEN }}
1834
folder: target/site/apidocs

0 commit comments

Comments
 (0)