Skip to content

Commit 9a81dff

Browse files
author
tac0turtle
committed
fix yamllint
1 parent 00d9da8 commit 9a81dff

File tree

5 files changed

+20
-14
lines changed

5 files changed

+20
-14
lines changed

.github/actions/rust-setup/action.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
name: 'Setup Rust'
2-
description: 'Setup Rust toolchain with caching and protoc'
1+
name: "Setup Rust"
2+
description: "Setup Rust toolchain with caching and protoc"
33
inputs:
44
toolchain:
5-
description: 'Rust toolchain to install'
5+
description: "Rust toolchain to install"
66
required: false
7-
default: 'stable'
7+
default: "stable"
88
components:
9-
description: 'Rust components to install'
9+
description: "Rust components to install"
1010
required: false
11-
default: ''
11+
default: ""
1212
cache-key:
13-
description: 'Additional cache key for dependencies'
13+
description: "Additional cache key for dependencies"
1414
required: false
15-
default: 'default'
15+
default: "default"
1616

1717
runs:
18-
using: 'composite'
18+
using: "composite"
1919
steps:
2020
- name: Install Rust toolchain
2121
uses: dtolnay/rust-toolchain@master
@@ -48,4 +48,4 @@ runs:
4848
run: |
4949
rustc --version
5050
cargo --version
51-
protoc --version
51+
protoc --version

.github/workflows/rust-ci-status.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,17 @@ jobs:
1010
status:
1111
name: Update CI Status
1212
runs-on: ubuntu-latest
13+
permissions:
14+
contents: read
1315
if: github.event.workflow_run.conclusion != 'skipped'
1416
steps:
1517
- name: Report status
1618
run: |
1719
echo "Workflow: ${{ github.event.workflow_run.name }}"
1820
echo "Status: ${{ github.event.workflow_run.conclusion }}"
1921
echo "Branch: ${{ github.event.workflow_run.head_branch }}"
20-
22+
2123
if [ "${{ github.event.workflow_run.conclusion }}" != "success" ]; then
2224
echo "::error::Rust CI workflow failed"
2325
exit 1
24-
fi
26+
fi

.github/workflows/rust-proto-check.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ on:
1111
branches:
1212
- main
1313
- release/*
14+
permissions:
15+
contents: read
1416

1517
jobs:
1618
check-proto-generation:

.github/workflows/rust-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,4 +95,4 @@ jobs:
9595
9696
See the [README](https://github.com/rollkit/rollkit/tree/main/client/crates/rollkit-client) for usage examples.
9797
draft: false
98-
prerelease: false
98+
prerelease: false

.github/workflows/rust-test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
name: Rust Tests
2+
permissions:
3+
contents: read
24

35
on:
46
pull_request:
@@ -85,4 +87,4 @@ jobs:
8587
files: lcov.info
8688
flags: rust
8789
fail_ci_if_error: false
88-
token: ${{ secrets.CODECOV_TOKEN }}
90+
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)