Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump cargo version to latest stable 1.81 #7

Merged
merged 1 commit into from
Sep 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.

Loading