summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/clang-format-check.yml6
-rw-r--r--.github/workflows/main.yml4
-rw-r--r--.github/workflows/pr-check.yml4
3 files changed, 7 insertions, 7 deletions
diff --git a/.github/workflows/clang-format-check.yml b/.github/workflows/clang-format-check.yml
index 62dcb08..6bf522c 100644
--- a/.github/workflows/clang-format-check.yml
+++ b/.github/workflows/clang-format-check.yml
@@ -8,10 +8,10 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Run clang-format style check for C programs.
- uses: DoozyX/clang-format-lint-action@v0.8
+ uses: DoozyX/clang-format-lint-action@v0.10
with:
source: '.'
- extensions: 'c,h,cpp'
+ extensions: 'c,h,cpp,hpp'
clangFormatVersion: 10
style: file
- exclude: './config ./hl/src/H5LTanalyze.c'
+ exclude: './config ./hl/src/H5LTanalyze.c ./hl/src/H5LTparse.c ./hl/src/H5LTparse.h ./src/H5Epubgen.h ./src/H5Einit.h ./src/H5Eterm.h ./src/H5Edefin.h ./src/H5version.h ./src/H5overflow.h'
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 6dad657..a7faaa7 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -95,8 +95,8 @@ jobs:
if: matrix.os == 'windows-latest'
run: |
# Set these env vars so cmake picks the correct compiler
- echo "::set-env name=CXX::cl.exe"
- echo "::set-env name=CC::cl.exe"
+ echo "CXX=cl.exe" >> $GITHUB_ENV
+ echo "CC=cl.exe" >> $GITHUB_ENV
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Get Sources
diff --git a/.github/workflows/pr-check.yml b/.github/workflows/pr-check.yml
index e3b9d9b..7cce4d0 100644
--- a/.github/workflows/pr-check.yml
+++ b/.github/workflows/pr-check.yml
@@ -89,8 +89,8 @@ jobs:
if: matrix.os == 'windows-latest'
run: |
# Set these env vars so cmake picks the correct compiler
- echo "::set-env name=CXX::cl.exe"
- echo "::set-env name=CC::cl.exe"
+ echo "CXX=cl.exe" >> $GITHUB_ENV
+ echo "CC=cl.exe" >> $GITHUB_ENV
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Get Sources