Skip to content

Commit

Permalink
Bump cargo version to latest stable 1.81
Browse files Browse the repository at this point in the history
  • Loading branch information
thibmeu committed Sep 24, 2024
1 parent 310b41e commit 0a63546
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 93 deletions.
47 changes: 39 additions & 8 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,24 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Install protoc on Ubuntu
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt-get update
sudo apt-get install -y protobuf-compiler
- name: Install protoc on Windows
if: matrix.os == 'windows-latest'
run: |
choco install protoc --version=3.20.0
# You can change the version as needed
$env:PATH += ";C:\ProgramData\chocolatey\bin"
- name: Install protoc on macOS
if: matrix.os == 'macos-latest'
run: |
brew install protobuf
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.76
toolchain: 1.81
override: true
- name: cargo fetch
uses: actions-rs/cargo@v1
Expand All @@ -41,9 +56,13 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Install protoc on Ubuntu
run: |
sudo apt-get update
sudo apt-get install -y protobuf-compiler
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.76
toolchain: 1.81
override: true
- name: Add target
run: rustup target add ${{ matrix.target }}
Expand All @@ -61,9 +80,13 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Install protoc on Ubuntu
run: |
sudo apt-get update
sudo apt-get install -y protobuf-compiler
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.76
toolchain: 1.81
override: true
- name: cargo check
uses: actions-rs/cargo@v1
Expand All @@ -72,20 +95,24 @@ jobs:
args: --tests --examples --benches --all-features

clippy:
name: Clippy (1.76)
name: Clippy (1.81)
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Install protoc on Ubuntu
run: |
sudo apt-get update
sudo apt-get install -y protobuf-compiler
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.76
toolchain: 1.81
components: clippy
override: true
- name: Clippy check
uses: actions-rs/clippy-check@v1
with:
name: Clippy (1.76)
name: Clippy (1.81)
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features --all-targets -- -D warnings

Expand All @@ -95,9 +122,13 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Install protoc on Ubuntu
run: |
sudo apt-get update
sudo apt-get install -y protobuf-compiler
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.76
toolchain: 1.81
override: true
- name: cargo fetch
uses: actions-rs/cargo@v1
Expand All @@ -120,7 +151,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.76
toolchain: 1.81
components: rustfmt
override: true
- name: Check formatting
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Plexi is a flexible auditor for [Key Transparency systems](https://blog.cloudfla

| Environment | CLI Command |
|:--------------------------------------------------------------|:----------------------|
| [Cargo](https://www.rust-lang.org/tools/install) (Rust 1.76+) | `cargo install plexi` |
| [Cargo](https://www.rust-lang.org/tools/install) (Rust 1.81+) | `cargo install plexi` |

## Usage

Expand Down
84 changes: 0 additions & 84 deletions plexi_cli/README.md

This file was deleted.

0 comments on commit 0a63546

Please sign in to comment.