Compare commits

...

4 Commits

Author SHA1 Message Date
Jon Häggblad 6972c74dd2 wip make typo 2023-11-02 11:11:59 +01:00
Jon Häggblad d52bc53ae2 wip: tmp comment out 2023-11-02 11:07:14 +01:00
Jon Häggblad 57dfe9b645 workflow_dispatch on nightly-security-audit 2023-11-02 11:06:07 +01:00
Jon Häggblad 41e90c4da9 ci: switch the notifications to ubuntu-latest 2023-11-02 11:04:23 +01:00
4 changed files with 42 additions and 39 deletions
+36 -36
View File
@@ -41,47 +41,47 @@ jobs:
- name: Check formatting
uses: actions-rs/cargo@v1
with:
command: fmt
command: famt
args: --all -- --check
- name: Build binaries
uses: actions-rs/cargo@v1
with:
command: build
args: --release --workspace
- name: Build examples
uses: actions-rs/cargo@v1
with:
command: build
args: --release --workspace --examples
- name: Set debug to false
run: |
sed -i.bak 's/\[profile.dev\]/\[profile.dev\]\ndebug = false/' Cargo.toml
git diff
- name: Run unit tests
uses: actions-rs/cargo@v1
with:
command: test
args: --workspace
- name: Run slow unit tests
uses: actions-rs/cargo@v1
with:
command: test
args: --workspace -- --ignored
- name: Clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: --workspace --all-targets -- -D warnings
# - name: Build binaries
# uses: actions-rs/cargo@v1
# with:
# command: build
# args: --release --workspace
#
# - name: Build examples
# uses: actions-rs/cargo@v1
# with:
# command: build
# args: --release --workspace --examples
#
# - name: Set debug to false
# run: |
# sed -i.bak 's/\[profile.dev\]/\[profile.dev\]\ndebug = false/' Cargo.toml
# git diff
#
# - name: Run unit tests
# uses: actions-rs/cargo@v1
# with:
# command: test
# args: --workspace
#
# - name: Run slow unit tests
# uses: actions-rs/cargo@v1
# with:
# command: test
# args: --workspace -- --ignored
#
# - name: Clippy
# uses: actions-rs/cargo@v1
# with:
# command: clippy
# args: --workspace --all-targets -- -D warnings
notification:
needs: build
runs-on: custom-linux
runs-on: ubuntu-latest
steps:
- name: Collect jobs status
uses: technote-space/workflow-conclusion-action@v2
@@ -58,7 +58,7 @@ jobs:
notification:
needs: build
runs-on: custom-linux
runs-on: ubuntu-latest
steps:
- name: Collect jobs status
uses: technote-space/workflow-conclusion-action@v2
@@ -58,7 +58,7 @@ jobs:
notification:
needs: build
runs-on: custom-linux
runs-on: ubuntu-latest
steps:
- name: Collect jobs status
uses: technote-space/workflow-conclusion-action@v2
+4 -1
View File
@@ -1,8 +1,10 @@
name: nightly-security-audit
on:
workflow_dispatch:
schedule:
- cron: '5 9 * * *'
jobs:
cargo-deny:
runs-on: ubuntu-20.04
@@ -24,9 +26,10 @@ jobs:
with:
name: report
path: .github/workflows/support-files/notifications/deny.message
notification:
needs: cargo-deny
runs-on: custom-linux
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v2