Skip to content

Commit 90728ff

Browse files
committed
meta: set MSRV of 1.81, update GHA
1 parent aea6ec1 commit 90728ff

File tree

2 files changed

+20
-14
lines changed

2 files changed

+20
-14
lines changed

.github/workflows/rust.yml

Lines changed: 19 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ name: Build
33
on:
44
push:
55
branches:
6-
- '*'
6+
- "*"
77
pull_request:
88
branches:
9-
- '*'
9+
- "*"
1010

1111
env:
1212
CARGO_TERM_COLOR: always
@@ -18,17 +18,22 @@ jobs:
1818
fail-fast: false
1919
matrix:
2020
os: [ubuntu-latest, macos-latest, windows-latest]
21+
rust: [stable, beta, nightly, 1.81.0]
2122

2223
steps:
23-
- uses: actions/checkout@v2
24-
- name: Install LLVM and Clang
25-
if: startsWith(matrix.os, 'windows')
26-
uses: KyleMayes/install-llvm-action@v1
27-
with:
28-
version: "11.0"
29-
directory: ${{ runner.temp }}/llvm
30-
- name: Set LIBCLANG_PATH
31-
if: startsWith(matrix.os, 'windows')
32-
run: echo "LIBCLANG_PATH=$((gcm clang).source -replace "clang.exe")" >> $env:GITHUB_ENV
33-
- name: Run tests
34-
run: bash ./ci-tests.sh
24+
- uses: actions/checkout@v4
25+
- uses: dtolnay/rust-toolchain@master
26+
with:
27+
toolchain: ${{ matrix.rust }}
28+
components: clippy
29+
- name: Install LLVM and Clang
30+
if: startsWith(matrix.os, 'windows')
31+
uses: KyleMayes/install-llvm-action@v2
32+
with:
33+
version: "11.0"
34+
directory: ${{ runner.temp }}/llvm
35+
- name: Set LIBCLANG_PATH
36+
if: startsWith(matrix.os, 'windows')
37+
run: echo "LIBCLANG_PATH=$((gcm clang).source -replace "clang.exe")" >> $env:GITHUB_ENV
38+
- name: Run tests
39+
run: bash ./ci-tests.sh

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ categories = ["cryptography"]
1111
readme = "README.md"
1212
keywords = ["noise", "protocol", "crypto"]
1313
edition = "2021"
14+
rust-version = "1.81"
1415

1516
# This is slightly mumbo-jumboey, but in short:
1617
# Features with a -resolver suffix simply enables the existence of a specific resolver,

0 commit comments

Comments
 (0)