Skip to content

Commit 0e86c7f

Browse files
committed
udpate permissions
1 parent fb5a80d commit 0e86c7f

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/rust.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
on: [push, pull_request, workflow_dispatch]
22

3+
34
name: CI
45

6+
permissions:
7+
contents: write
8+
59
env:
610
RUSTFLAGS: -D warnings
711
RUSTDOCFLAGS: -D warnings

rust-toolchain.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# to the user in the error, instead of "error: invalid channel name '[toolchain]'".
66

77
[toolchain]
8-
channel = "1.80.1" # Avoid specifying a patch version here; see https://github.com/emilk/eframe_template/issues/145
8+
channel = "1.80.1"
99
components = [ "rustfmt", "clippy" ]
1010
targets = [ "wasm32-unknown-unknown" ]
1111

0 commit comments

Comments
 (0)