build: harden ci.yml permissions

Signed-off-by: Alex <aleksandrosansan@gmail.com>
This commit is contained in:
Alex
2022-12-08 19:44:16 +02:00
committed by Thomas de Zeeuw
parent 4e66fb703e
commit a0dd640298
+4
View File
@@ -8,6 +8,10 @@ env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: full
CI: true
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
Test:
runs-on: ${{ matrix.os }}