Skip to content
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
24 changes: 24 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ env:
jobs:
format:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@stable
Expand All @@ -26,6 +28,8 @@ jobs:

check:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@stable
Expand All @@ -40,6 +44,8 @@ jobs:

clippy:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@stable
Expand All @@ -61,6 +67,8 @@ jobs:
toolchain: [stable, beta]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
permissions:
contents: read
steps:
- uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@master
Expand All @@ -77,6 +85,8 @@ jobs:

doc:
runs-on: ubuntu-latest
permissions:
contents: read
env:
RUSTFLAGS: -D warnings
RUSTDOCFLAGS: --cfg docsrs
Expand All @@ -90,6 +100,8 @@ jobs:

verify_rust_version:
needs: format
permissions:
contents: read
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
Expand All @@ -108,6 +120,8 @@ jobs:

run_examples:
needs: format
permissions:
contents: read
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
Expand All @@ -123,6 +137,8 @@ jobs:

coverage:
needs: format
permissions:
contents: read
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
Expand All @@ -148,6 +164,8 @@ jobs:
semver-checks:
needs: format
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@stable
Expand All @@ -166,6 +184,8 @@ jobs:
compile_benchmarks:
needs: format
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@stable
Expand All @@ -181,6 +201,8 @@ jobs:
no_std:
needs: format
runs-on: ubuntu-latest
permissions:
contents: read
strategy:
matrix:
target: [thumbv7m-none-eabi, aarch64-unknown-none]
Expand Down Expand Up @@ -221,6 +243,8 @@ jobs:
# https://github.com/jonhoo/fantoccini/blob/fde336472b712bc7ebf5b4e772023a7ba71b2262/Cargo.toml#L47-L49.
# This action is run on ubuntu with the stable toolchain, as it is not expected to fail
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@stable
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
This file contains the changes to the crate since version 0.1.1.
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

- Add explicit permissions to the CI jobs.

## [2.0.1] - 2026-03-26

- Use [`kuva`](https://crates.io/crates/kuva) instead of [`plotters`](https://crates.io/crates/plotters/) as the plot backend in the plot example.
Expand Down
Loading