mirror of
https://github.com/libressl/portable.git
synced 2026-01-17 21:51:17 +01:00
ci: update and pin github actions
This commit is contained in:
2
.github/workflows/android.yml
vendored
2
.github/workflows/android.yml
vendored
@@ -25,7 +25,7 @@ jobs:
|
|||||||
max-nal: 30
|
max-nal: 30
|
||||||
steps:
|
steps:
|
||||||
- name: "Checkout repository"
|
- name: "Checkout repository"
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
|
|
||||||
- name: "Run CI script"
|
- name: "Run CI script"
|
||||||
run: ./scripts/test
|
run: ./scripts/test
|
||||||
|
|||||||
2
.github/workflows/cifuzz.yml
vendored
2
.github/workflows/cifuzz.yml
vendored
@@ -26,7 +26,7 @@ jobs:
|
|||||||
dry-run: false
|
dry-run: false
|
||||||
language: c++
|
language: c++
|
||||||
- name: Upload Crash
|
- name: Upload Crash
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
|
||||||
if: failure() && steps.build.outcome == 'success'
|
if: failure() && steps.build.outcome == 'success'
|
||||||
with:
|
with:
|
||||||
name: artifacts
|
name: artifacts
|
||||||
|
|||||||
4
.github/workflows/cmake-config.yml
vendored
4
.github/workflows/cmake-config.yml
vendored
@@ -24,11 +24,11 @@ jobs:
|
|||||||
contents: read
|
contents: read
|
||||||
steps:
|
steps:
|
||||||
- name: "Checkout repository"
|
- name: "Checkout repository"
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
|
|
||||||
- name: "Setup Windows dependencies"
|
- name: "Setup Windows dependencies"
|
||||||
if: runner.os == 'Windows'
|
if: runner.os == 'Windows'
|
||||||
uses: msys2/setup-msys2@v2
|
uses: msys2/setup-msys2@4f806de0a5a7294ffabaff804b38a9b435a73bda # v2.30.0
|
||||||
with:
|
with:
|
||||||
update: true
|
update: true
|
||||||
install: >-
|
install: >-
|
||||||
|
|||||||
2
.github/workflows/coverity.yml
vendored
2
.github/workflows/coverity.yml
vendored
@@ -19,7 +19,7 @@ jobs:
|
|||||||
contents: read
|
contents: read
|
||||||
steps:
|
steps:
|
||||||
- name: "Checkout repository"
|
- name: "Checkout repository"
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
|
|
||||||
- name: "Install dependencies"
|
- name: "Install dependencies"
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
8
.github/workflows/emscripten.yml
vendored
8
.github/workflows/emscripten.yml
vendored
@@ -20,10 +20,10 @@ jobs:
|
|||||||
contents: read
|
contents: read
|
||||||
steps:
|
steps:
|
||||||
- name: "Checkout repository"
|
- name: "Checkout repository"
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
|
|
||||||
- name: "Setup emsdk"
|
- name: "Setup emsdk"
|
||||||
uses: mymindstorm/setup-emsdk@v14
|
uses: mymindstorm/setup-emsdk@6ab9eb1bda2574c4ddb79809fc9247783eaf9021 # v14
|
||||||
with:
|
with:
|
||||||
version: "3.1.60"
|
version: "3.1.60"
|
||||||
|
|
||||||
@@ -48,10 +48,10 @@ jobs:
|
|||||||
contents: read
|
contents: read
|
||||||
steps:
|
steps:
|
||||||
- name: "Checkout repository"
|
- name: "Checkout repository"
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
|
|
||||||
- name: "Setup emsdk"
|
- name: "Setup emsdk"
|
||||||
uses: mymindstorm/setup-emsdk@v14
|
uses: mymindstorm/setup-emsdk@6ab9eb1bda2574c4ddb79809fc9247783eaf9021 # v14
|
||||||
with:
|
with:
|
||||||
version: "3.1.60"
|
version: "3.1.60"
|
||||||
|
|
||||||
|
|||||||
2
.github/workflows/fedora-rawhide.yml
vendored
2
.github/workflows/fedora-rawhide.yml
vendored
@@ -23,7 +23,7 @@ jobs:
|
|||||||
container:
|
container:
|
||||||
image: fedora:rawhide
|
image: fedora:rawhide
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
dnf -y install git make clang cmake ninja-build autoconf automake libtool diffutils patch gawk
|
dnf -y install git make clang cmake ninja-build autoconf automake libtool diffutils patch gawk
|
||||||
|
|||||||
8
.github/workflows/freebsd.yml
vendored
8
.github/workflows/freebsd.yml
vendored
@@ -22,7 +22,7 @@ jobs:
|
|||||||
contents: read
|
contents: read
|
||||||
steps:
|
steps:
|
||||||
- name: "Checkout repository"
|
- name: "Checkout repository"
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
|
|
||||||
- name: "Setup"
|
- name: "Setup"
|
||||||
run: |
|
run: |
|
||||||
@@ -31,7 +31,7 @@ jobs:
|
|||||||
./autogen.sh
|
./autogen.sh
|
||||||
|
|
||||||
- name: "Build on VM"
|
- name: "Build on VM"
|
||||||
uses: vmactions/freebsd-vm@v1
|
uses: vmactions/freebsd-vm@670398e4236735b8b65805c3da44b7a511fb8b27 # v1.3.0
|
||||||
with:
|
with:
|
||||||
release: "${{ env.FREEBSD_VERSION }}"
|
release: "${{ env.FREEBSD_VERSION }}"
|
||||||
copyback: false
|
copyback: false
|
||||||
@@ -49,7 +49,7 @@ jobs:
|
|||||||
contents: read
|
contents: read
|
||||||
steps:
|
steps:
|
||||||
- name: "Checkout repository"
|
- name: "Checkout repository"
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
|
|
||||||
- name: "Setup"
|
- name: "Setup"
|
||||||
run: |
|
run: |
|
||||||
@@ -58,7 +58,7 @@ jobs:
|
|||||||
./autogen.sh
|
./autogen.sh
|
||||||
|
|
||||||
- name: "Build on VM"
|
- name: "Build on VM"
|
||||||
uses: vmactions/freebsd-vm@v1
|
uses: vmactions/freebsd-vm@670398e4236735b8b65805c3da44b7a511fb8b27 # v1.3.0
|
||||||
with:
|
with:
|
||||||
release: "${{ env.FREEBSD_VERSION }}"
|
release: "${{ env.FREEBSD_VERSION }}"
|
||||||
copyback: false
|
copyback: false
|
||||||
|
|||||||
4
.github/workflows/linux.yml
vendored
4
.github/workflows/linux.yml
vendored
@@ -44,7 +44,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "Checkout repository"
|
- name: "Checkout repository"
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
|
|
||||||
- name: "Run tests"
|
- name: "Run tests"
|
||||||
run: ./scripts/test || (status=$?; cat tests/test-suite.log; exit $status)
|
run: ./scripts/test || (status=$?; cat tests/test-suite.log; exit $status)
|
||||||
@@ -66,7 +66,7 @@ jobs:
|
|||||||
os: ["ubuntu-24.04", "ubuntu-24.04-arm"]
|
os: ["ubuntu-24.04", "ubuntu-24.04-arm"]
|
||||||
steps:
|
steps:
|
||||||
- name: "Checkout repository"
|
- name: "Checkout repository"
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
|
|
||||||
- name: "Run tests"
|
- name: "Run tests"
|
||||||
run: ./scripts/test
|
run: ./scripts/test
|
||||||
|
|||||||
2
.github/workflows/macos.yml
vendored
2
.github/workflows/macos.yml
vendored
@@ -28,7 +28,7 @@ jobs:
|
|||||||
run: brew install automake libtool
|
run: brew install automake libtool
|
||||||
|
|
||||||
- name: "Checkout repository"
|
- name: "Checkout repository"
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
|
|
||||||
- name: "Run tests"
|
- name: "Run tests"
|
||||||
run: ./scripts/test
|
run: ./scripts/test
|
||||||
|
|||||||
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
@@ -20,7 +20,7 @@ jobs:
|
|||||||
upload_url: "${{ steps.create_release.outputs.upload_url }}"
|
upload_url: "${{ steps.create_release.outputs.upload_url }}"
|
||||||
steps:
|
steps:
|
||||||
- name: "Checkout repository"
|
- name: "Checkout repository"
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
|
|
||||||
- name: "Generate version changelog"
|
- name: "Generate version changelog"
|
||||||
run: .github/scripts/changelog.sh "$VERSION" > release-changelog.txt
|
run: .github/scripts/changelog.sh "$VERSION" > release-changelog.txt
|
||||||
@@ -29,7 +29,7 @@ jobs:
|
|||||||
|
|
||||||
- name: "Create GitHub release"
|
- name: "Create GitHub release"
|
||||||
id: create_release
|
id: create_release
|
||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@a06a81a03ee405af7f2048a818ed3f03bbf83c7b # v2.5.0
|
||||||
with:
|
with:
|
||||||
body_path: "${{ github.workspace }}/release-changelog.txt"
|
body_path: "${{ github.workspace }}/release-changelog.txt"
|
||||||
|
|
||||||
@@ -43,10 +43,10 @@ jobs:
|
|||||||
arch: [ "Win32", "x64", "ARM64" ]
|
arch: [ "Win32", "x64", "ARM64" ]
|
||||||
steps:
|
steps:
|
||||||
- name: "Checkout repository"
|
- name: "Checkout repository"
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
|
|
||||||
- name: "Setup MSYS2"
|
- name: "Setup MSYS2"
|
||||||
uses: msys2/setup-msys2@v2
|
uses: msys2/setup-msys2@4f806de0a5a7294ffabaff804b38a9b435a73bda # v2.30.0
|
||||||
with:
|
with:
|
||||||
update: true
|
update: true
|
||||||
install: >-
|
install: >-
|
||||||
@@ -75,7 +75,7 @@ jobs:
|
|||||||
run: Compress-Archive -Path local\* "libressl_${{ github.ref_name }}_windows_${{ matrix.arch }}.zip"
|
run: Compress-Archive -Path local\* "libressl_${{ github.ref_name }}_windows_${{ matrix.arch }}.zip"
|
||||||
|
|
||||||
- name: "Upload release artifact"
|
- name: "Upload release artifact"
|
||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@a06a81a03ee405af7f2048a818ed3f03bbf83c7b # v2.5.0
|
||||||
with:
|
with:
|
||||||
files: |
|
files: |
|
||||||
libressl_${{ github.ref_name }}_windows_${{ matrix.arch }}.zip
|
libressl_${{ github.ref_name }}_windows_${{ matrix.arch }}.zip
|
||||||
|
|||||||
2
.github/workflows/rust-openssl.yml
vendored
2
.github/workflows/rust-openssl.yml
vendored
@@ -19,7 +19,7 @@ jobs:
|
|||||||
contents: read
|
contents: read
|
||||||
steps:
|
steps:
|
||||||
- name: "Checkout repository"
|
- name: "Checkout repository"
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
|
|
||||||
- name: "Build LibreSSL"
|
- name: "Build LibreSSL"
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
4
.github/workflows/solaris.yml
vendored
4
.github/workflows/solaris.yml
vendored
@@ -19,7 +19,7 @@ jobs:
|
|||||||
contents: read
|
contents: read
|
||||||
steps:
|
steps:
|
||||||
- name: "Checkout repository"
|
- name: "Checkout repository"
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
|
|
||||||
- name: "Setup"
|
- name: "Setup"
|
||||||
run: |
|
run: |
|
||||||
@@ -28,7 +28,7 @@ jobs:
|
|||||||
./autogen.sh
|
./autogen.sh
|
||||||
|
|
||||||
- name: "Build on VM"
|
- name: "Build on VM"
|
||||||
uses: vmactions/solaris-vm@v1
|
uses: vmactions/solaris-vm@47bea106d03acaf91084e52548ee460556011602 # v1.1.8
|
||||||
with:
|
with:
|
||||||
prepare: |
|
prepare: |
|
||||||
pkg install gcc make
|
pkg install gcc make
|
||||||
|
|||||||
6
.github/workflows/windows.yml
vendored
6
.github/workflows/windows.yml
vendored
@@ -32,10 +32,10 @@ jobs:
|
|||||||
generator: "Visual Studio 17 2022"
|
generator: "Visual Studio 17 2022"
|
||||||
steps:
|
steps:
|
||||||
- name: "Checkout repository"
|
- name: "Checkout repository"
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
|
|
||||||
- name: "Setup MSYS2"
|
- name: "Setup MSYS2"
|
||||||
uses: msys2/setup-msys2@v2
|
uses: msys2/setup-msys2@4f806de0a5a7294ffabaff804b38a9b435a73bda # v2.30.0
|
||||||
with:
|
with:
|
||||||
update: true
|
update: true
|
||||||
install: >-
|
install: >-
|
||||||
@@ -64,7 +64,7 @@ jobs:
|
|||||||
|
|
||||||
- name: "Upload build artifacts"
|
- name: "Upload build artifacts"
|
||||||
if: always()
|
if: always()
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
|
||||||
with:
|
with:
|
||||||
name: "${{ matrix.os }}-${{ matrix.arch }}${{ matrix.shared == 'ON' && '-shared' || '' }}-build-results"
|
name: "${{ matrix.os }}-${{ matrix.arch }}${{ matrix.shared == 'ON' && '-shared' || '' }}-build-results"
|
||||||
path: "build"
|
path: "build"
|
||||||
|
|||||||
Reference in New Issue
Block a user