Add minimum permissions to rust.yml workflow

This commit is contained in:
gwenn 2023-03-13 19:29:57 +01:00
parent 2bc25ff5de
commit 10005986e9

View File

@ -17,6 +17,9 @@ env:
# smaller. (TODO: use -Cdebuginfo=0 if it doesn't make backtraces useless)
RUSTFLAGS: -Cdebuginfo=1
permissions:
contents: read
jobs:
test:
name: Test ${{ matrix.target }}