Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ name: Security audit
on:
schedule:
- cron: "0 0 * * *"

permissions:
contents: read
issues: write

jobs:
audit:
runs-on: ubuntu-latest
Expand Down
13 changes: 12 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Basic CI

on: [push, pull_request]

name: Basic CI
permissions:
contents: read

env:
CARGO_TERM_COLOR: always
Expand All @@ -15,6 +18,8 @@ jobs:
os: [ubuntu-latest, macOS-latest, windows-latest]
steps:
- uses: actions/checkout@v7
with:
persist-credentials: false
- if: ${{ contains(matrix.os, 'ubuntu') }}
run: |
sudo apt-get update -y
Expand All @@ -29,6 +34,8 @@ jobs:
os: [ubuntu-latest, macOS-latest, windows-latest]
steps:
- uses: actions/checkout@v7
with:
persist-credentials: false
- if: ${{ contains(matrix.os, 'ubuntu') }}
run: |
sudo apt-get update -y
Expand All @@ -43,6 +50,8 @@ jobs:
os: [ubuntu-latest, macOS-latest, windows-latest]
steps:
- uses: actions/checkout@v7
with:
persist-credentials: false
- if: ${{ contains(matrix.os, 'ubuntu') }}
run: |
sudo apt-get update -y
Expand Down Expand Up @@ -71,6 +80,8 @@ jobs:
- { os: windows-latest , features: windows }
steps:
- uses: actions/checkout@v7
with:
persist-credentials: false
- name: Initialize workflow variables
id: vars
shell: bash
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ on:
branches:
- main

permissions:
contents: read

env:
# * style job configuration
STYLE_FAIL_ON_FAULT: true ## (bool) fail the build if a style job contains a fault (error or warning); may be overridden on a per-job basis

permissions:
contents: read # to fetch code (actions/checkout)

# End the current execution if there is a new changeset in the PR.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -26,6 +26,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
with:
persist-credentials: false
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- run: rustup component add rustfmt
Expand All @@ -46,6 +48,8 @@ jobs:
- { os: windows-latest }
steps:
- uses: actions/checkout@v7
with:
persist-credentials: false
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
Expand Down
Loading