mirror of
https://github.com/libexpat/libexpat.git
synced 2025-04-06 05:34:59 +00:00
CI: Pin all GitHub Actions to specific commits for security
This commit is contained in:
parent
4b98a4e001
commit
8b6b5df740
8 changed files with 9 additions and 9 deletions
2
.github/workflows/autotools-cmake.yml
vendored
2
.github/workflows/autotools-cmake.yml
vendored
|
@ -58,7 +58,7 @@ jobs:
|
|||
shell: bash
|
||||
runs-on: "${{ matrix.os }}"
|
||||
steps:
|
||||
- uses: actions/checkout@v3.5.2
|
||||
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
|
||||
|
||||
- name: (Linux) Install build dependencies
|
||||
if: "${{ runner.os == 'Linux' }}"
|
||||
|
|
2
.github/workflows/cmake-required-version.yml
vendored
2
.github/workflows/cmake-required-version.yml
vendored
|
@ -43,7 +43,7 @@ jobs:
|
|||
name: Ensure realistic minimum CMake version requirement
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- uses: actions/checkout@v3.5.2
|
||||
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
|
||||
|
||||
- name: Install ancient CMake
|
||||
run: |
|
||||
|
|
4
.github/workflows/coverage.yml
vendored
4
.github/workflows/coverage.yml
vendored
|
@ -45,7 +45,7 @@ jobs:
|
|||
env:
|
||||
CFLAGS: -g3 -pipe
|
||||
steps:
|
||||
- uses: actions/checkout@v3.5.2
|
||||
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
|
||||
- name: Install build dependencies
|
||||
run: |-
|
||||
set -x -u
|
||||
|
@ -81,7 +81,7 @@ jobs:
|
|||
exec ./.travis.sh
|
||||
|
||||
- name: Store coverage .info and HTML report
|
||||
uses: actions/upload-artifact@v3.1.2
|
||||
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
|
||||
with:
|
||||
name: coverage
|
||||
path: expat/coverage__*/
|
||||
|
|
2
.github/workflows/cppcheck.yml
vendored
2
.github/workflows/cppcheck.yml
vendored
|
@ -43,7 +43,7 @@ jobs:
|
|||
name: Run Cppcheck
|
||||
runs-on: macos-11
|
||||
steps:
|
||||
- uses: actions/checkout@v3.5.2
|
||||
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
|
||||
- name: Install runtime dependencies
|
||||
run: |
|
||||
exec brew install cppcheck findutils
|
||||
|
|
2
.github/workflows/expat_config_h.yml
vendored
2
.github/workflows/expat_config_h.yml
vendored
|
@ -43,7 +43,7 @@ jobs:
|
|||
name: Check expat_config.h.{in,cmake} for regressions
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- uses: actions/checkout@v3.5.2
|
||||
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
|
||||
- name: Check expat_config.h.{in,cmake} for regressions
|
||||
run: |
|
||||
set -v
|
||||
|
|
2
.github/workflows/linux.yml
vendored
2
.github/workflows/linux.yml
vendored
|
@ -83,7 +83,7 @@ jobs:
|
|||
env:
|
||||
CFLAGS: -g3 -pipe
|
||||
steps:
|
||||
- uses: actions/checkout@v3.5.2
|
||||
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
|
||||
- name: Install build dependencies (MinGW)
|
||||
if: "${{ contains(matrix.FLAT_ENV, 'mingw') }}"
|
||||
run: |-
|
||||
|
|
2
.github/workflows/macos.yml
vendored
2
.github/workflows/macos.yml
vendored
|
@ -53,7 +53,7 @@ jobs:
|
|||
FLAT_ENV: CC=clang CXX=clang++ LD=clang++ QA_SANITIZER=address
|
||||
runs-on: macos-11
|
||||
steps:
|
||||
- uses: actions/checkout@v3.5.2
|
||||
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
|
||||
- name: Install build dependencies
|
||||
run: |
|
||||
sudo rm /usr/local/bin/2to3 # so that "brew link" will work
|
||||
|
|
2
.github/workflows/valid-xml.yml
vendored
2
.github/workflows/valid-xml.yml
vendored
|
@ -43,7 +43,7 @@ jobs:
|
|||
name: Ensure well-formed and valid XML
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- uses: actions/checkout@v3.5.2
|
||||
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
|
||||
|
||||
- name: Install build dependencies
|
||||
run: |-
|
||||
|
|
Loading…
Add table
Reference in a new issue