Merge pull request #1302 from gwenn/perms

Add minimum permissions to rust.yml workflow
This commit is contained in:
gwenn
2023-03-13 19:46:36 +01:00
committed by GitHub

View File

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