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
commit 6f557a7c9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 }}