Skip to content

Commit

Permalink
Bump all github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
extiop committed Dec 17, 2024
1 parent bdba30d commit 7eeada2
Show file tree
Hide file tree
Showing 6 changed files with 64 additions and 64 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
name: Criterion benchmark
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: boa-dev/criterion-compare-action@v3
- uses: actions/checkout@v4.2.2
- uses: boa-dev/criterion-compare-action@v3.2.4
with:
branchName: ${{ github.base_ref }}
benchName: "bench_archive"
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/mla_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,20 +67,20 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
- uses: actions/checkout@v4.2.2
- uses: actions-rs/toolchain@v1.0.6
with:
toolchain: stable
target: ${{ matrix.target }}
- uses: microsoft/setup-msbuild@v1.0.2
- uses: microsoft/setup-msbuild@v2
if: matrix.msvc_platform
- name: Build static library
uses: actions-rs/cargo@v1
uses: actions-rs/cargo@v1.0.1
with:
command: build
args: ${{ matrix.cargo_arg }} --manifest-path=bindings/C/Cargo.toml --target=${{ matrix.target }}
- name: Upload resulting 'mla'
uses: actions/upload-artifact@v3.2.1
uses: actions/upload-artifact@v4.4.3
with:
name: mla-${{ matrix.build }}
path: ${{ matrix.path }}
Expand All @@ -98,15 +98,15 @@ jobs:
echo "using version tag ${GITHUB_REF:15}"
echo "version=${GITHUB_REF:15}" >> $GITHUB_OUTPUT
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4.2.2
- name: Get Changelog Entry
id: changelog_reader
uses: mindsers/changelog-reader-action@v2
uses: mindsers/changelog-reader-action@v2.2.3
with:
path: ./mla/CHANGELOG.md
- name: Create Release
id: create_release
uses: actions/create-release@v1
uses: actions/create-release@v1.1.4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down Expand Up @@ -197,7 +197,7 @@ jobs:
asset_content_type: application/zip
asset_name: libmla-windows-x86_64-debug-${{ steps.get_version.outputs.VERSION }}.zip

- uses: actions/checkout@v2
- uses: actions/checkout@v4.2.2
- name: Release C Header file
uses: actions/[email protected]
env:
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/mlar_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,23 +30,23 @@ jobs:
runs-on: ${{matrix.os}}

steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
- uses: actions/checkout@v4.2.2
- uses: actions-rs/toolchain@v1.0.6
with:
toolchain: stable
- name: Set target if any
if: matrix.target
run: rustup target add ${{ matrix.target }}
- name: Build
uses: actions-rs/cargo@v1
uses: actions-rs/cargo@v1.0.1
with:
command: build
args: --release --all-features --package mlar --verbose ${{ matrix.cargo_build }}
- name: Strip resulting binary
if: matrix.build == 'linux'
run: strip ./target/${{ matrix.target }}/release/mlar${{ matrix.extension }}
- name: Upload resulting 'mlar'
uses: actions/upload-artifact@v3.2.1
uses: actions/upload-artifact@v4.4.3
with:
name: mlar-${{ matrix.build }}
path: ./target/${{ matrix.target }}/release/mlar${{ matrix.extension }}
Expand All @@ -64,15 +64,15 @@ jobs:
echo "using version tag ${GITHUB_REF:15}"
echo "version=${GITHUB_REF:15}" >> $GITHUB_OUTPUT
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4.2.2
- name: Get Changelog Entry
id: changelog_reader
uses: mindsers/changelog-reader-action@v2
uses: mindsers/changelog-reader-action@v2.2.3
with:
path: ./mlar/CHANGELOG.md
- name: Create Release
id: create_release
uses: actions/create-release@v1
uses: actions/create-release@v1.1.4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down
30 changes: 15 additions & 15 deletions .github/workflows/py-bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,19 @@ jobs:
- runner: ubuntu-latest
target: ppc64le
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: actions/checkout@v4.2.2
- uses: actions/setup-python@v5.3.0
with:
python-version: '3.11'
- name: Build wheels
uses: PyO3/maturin-action@v1
uses: PyO3/maturin-action@v1.45.0
with:
target: ${{ matrix.platform.target }}
args: --release --out dist --find-interpreter --manifest-path bindings/python/Cargo.toml
sccache: 'true'
manylinux: auto
- name: Upload wheels
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v4.4.3
with:
name: wheels-linux-${{ matrix.platform.target }}
path: dist
Expand All @@ -70,19 +70,19 @@ jobs:
- runner: windows-latest
target: x86
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: actions/checkout@v4.2.2
- uses: actions/setup-python@v5.3.0
with:
python-version: '3.11'
architecture: ${{ matrix.platform.target }}
- name: Build wheels
uses: PyO3/maturin-action@v1
uses: PyO3/maturin-action@v1.45.0
with:
target: ${{ matrix.platform.target }}
args: --release --out dist --find-interpreter --manifest-path bindings/python/Cargo.toml
sccache: 'true'
- name: Upload wheels
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v4.4.3
with:
name: wheels-windows-${{ matrix.platform.target }}
path: dist
Expand All @@ -107,18 +107,18 @@ jobs:
- runner: macos-14
target: aarch64
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: actions/checkout@v4.2.2
- uses: actions/setup-python@v5.3.0
with:
python-version: '3.11'
- name: Build wheels
uses: PyO3/maturin-action@v1
uses: PyO3/maturin-action@v1.45.0
with:
target: ${{ matrix.platform.target }}
args: --release --out dist --find-interpreter --manifest-path bindings/python/Cargo.toml
sccache: 'true'
- name: Upload wheels
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v4.4.3
with:
name: wheels-macos-${{ matrix.platform.target }}
path: dist
Expand All @@ -134,14 +134,14 @@ jobs:
sdist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4.2.2
- name: Build sdist
uses: PyO3/maturin-action@v1
uses: PyO3/maturin-action@v1.45.0
with:
command: sdist
args: --out dist --manifest-path bindings/python/Cargo.toml
- name: Upload sdist
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v4.4.3
with:
name: wheels-sdist
path: dist
10 changes: 5 additions & 5 deletions .github/workflows/sanitize.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ jobs:
# Assert .h and .hpp bindings files are the ones generated
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
- uses: actions/checkout@v4.2.2
- uses: actions-rs/toolchain@v1.0.6
with:
toolchain: stable
- uses: actions-rs/cargo@v1
- uses: actions-rs/cargo@v1.0.1
with:
command: install
args: cbindgen
Expand All @@ -47,9 +47,9 @@ jobs:

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4.2.2
- name: Get ${{ matrix.changelog }} Changelog Entry
uses: mindsers/changelog-reader-action@v2
uses: mindsers/changelog-reader-action@v2.2.3
id: changelog_reader
with:
# Check format for the last 10 entries
Expand Down
52 changes: 26 additions & 26 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,21 +28,21 @@ jobs:
runs-on: ${{matrix.os}}

steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
- uses: actions/checkout@v4.2.2
- uses: actions-rs/toolchain@v1.0.6
with:
toolchain: stable
- name: Build
env:
RUSTFLAGS: -D warnings
uses: actions-rs/cargo@v1
uses: actions-rs/cargo@v1.0.1
with:
command: build
args: --release --all --exclude mla-fuzz-afl --verbose
- name: Run tests
run: cargo test --all --exclude mla-fuzz-afl --release --verbose
- name: Upload resulting 'mlar'
uses: actions/upload-artifact@v3.2.1
uses: actions/upload-artifact@v4.4.3
with:
name: ${{ matrix.build }}
path: ./target/release/mlar${{ matrix.extension }}
Expand All @@ -51,8 +51,8 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
- uses: actions/checkout@v4.2.2
- uses: actions-rs/toolchain@v1.0.6
with:
toolchain: stable
- name: Run long tests
Expand All @@ -62,8 +62,8 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
- uses: actions/checkout@v4.2.2
- uses: actions-rs/toolchain@v1.0.6
with:
toolchain: stable
- name: Run long tests
Expand All @@ -72,8 +72,8 @@ jobs:
test-bindings-c-cpp-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
- uses: actions/checkout@v4.2.2
- uses: actions-rs/toolchain@v1.0.6
with:
toolchain: stable
- name: Run C bindings tests on Linux
Expand Down Expand Up @@ -103,14 +103,14 @@ jobs:
msvc_platform: x64
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
- uses: actions/checkout@v4.2.2
- uses: actions-rs/toolchain@v1.0.6
with:
# pin to 1.82 cf. https://github.com/ANSSI-FR/MLA/pull/227#issuecomment-2545916785
toolchain: 1.82
default: true
target: ${{ matrix.target }}
- uses: microsoft/setup-msbuild@v1.0.2
- uses: microsoft/setup-msbuild@v2
- name: Compile C/CPP bindings test program for Windows
working-directory: bindings/C/tests/windows-msvc/
run: msbuild mla-bindings-test.sln /p:Platform=${{ matrix.msvc_platform }} /p:Configuration=${{ matrix.version }}
Expand All @@ -122,14 +122,14 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
- uses: actions/checkout@v4.2.2
- uses: actions-rs/toolchain@v1.0.6
with:
toolchain: stable
- name: Install dependencies
run: sudo apt-get install llvm
- name: Install cargo-afl binary crate
uses: actions-rs/[email protected]
uses: actions-rs/[email protected].2
with:
crate: cargo-afl
version: latest
Expand All @@ -142,8 +142,8 @@ jobs:
fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
- uses: actions/checkout@v4.2.2
- uses: actions-rs/toolchain@v1.0.6
with:
toolchain: stable
components: rustfmt
Expand All @@ -153,29 +153,29 @@ jobs:
audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4.2.2
- name: Security audit
uses: actions-rs/audit-check@v1
uses: actions-rs/audit-check@v1.2.0
with:
token: ${{ secrets.GITHUB_TOKEN }}

clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
- uses: actions/checkout@v4.2.2
- uses: actions-rs/toolchain@v1.0.6
with:
toolchain: stable
components: clippy
- name: Install dependencies
run: sudo apt-get install llvm
- name: Install cargo-afl binary crate
uses: actions-rs/[email protected]
uses: actions-rs/[email protected].2
with:
crate: cargo-afl
version: latest
use-tool-cache: true
- uses: actions-rs/cargo@v1
- uses: actions-rs/cargo@v1.0.1
with:
command: clippy
args: --all-targets -- -D warnings
Expand All @@ -184,8 +184,8 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
- uses: actions/checkout@v4.2.2
- uses: actions-rs/toolchain@v1.0.6
with:
toolchain: stable
- name: Dry-run publish curve25519-parser
Expand Down

0 comments on commit 7eeada2

Please sign in to comment.