-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* CI: optimize caching * CI: cancel previous run on a new commit * CI: fix actions versions * CI: add dependabot to update cargo deps and github actions versions * CI: fix cancel action version * CI: fix cancel action version again * CI: fix cancel action version again again * CI: add cancel-workflow-action everywhere * CI: update actions versions * CI: separate windows jobs * CI: separate windows jobs 2
- Loading branch information
1 parent
b30fdab
commit 22b99ba
Showing
6 changed files
with
397 additions
and
156 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,11 +8,16 @@ jobs: | |
security_audit: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@v1 | ||
|
||
- name: Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
|
||
- name: Checkout sources | ||
uses: actions/[email protected] | ||
with: | ||
fetch-depth: 50 | ||
- name: Run cargo audit | ||
uses: actions-rs/audit-check@v1 | ||
|
||
- name: Run cargo audit | ||
uses: actions-rs/[email protected] | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
token: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,20 +17,25 @@ jobs: | |
env: | ||
RUST_BACKTRACE: full | ||
steps: | ||
- name: Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
|
||
- name: Checkout sources & submodules | ||
uses: actions/checkout@master | ||
uses: actions/checkout@v2.3.4 | ||
with: | ||
fetch-depth: 5 | ||
submodules: recursive | ||
|
||
- name: Install toolchain | ||
uses: actions-rs/toolchain@master | ||
uses: actions-rs/toolchain@v1.0.6 | ||
with: | ||
profile: minimal | ||
toolchain: stable | ||
components: clippy, rustfmt | ||
override: true | ||
|
||
- name: Checking style | ||
uses: actions-rs/cargo@master | ||
uses: actions-rs/cargo@v1.0.1 | ||
with: | ||
command: fmt | ||
toolchain: stable | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,26 +17,32 @@ jobs: | |
env: | ||
RUST_BACKTRACE: full | ||
steps: | ||
- name: Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
|
||
- name: Checkout sources & submodules | ||
uses: actions/checkout@master | ||
uses: actions/checkout@v2.3.4 | ||
with: | ||
fetch-depth: 5 | ||
submodules: recursive | ||
|
||
- name: Install toolchain | ||
uses: actions-rs/toolchain@master | ||
uses: actions-rs/toolchain@v1.0.6 | ||
with: | ||
profile: minimal | ||
toolchain: stable | ||
components: clippy, rustfmt | ||
override: true | ||
|
||
- name: Checking clippy | ||
uses: actions-rs/cargo@master | ||
uses: actions-rs/cargo@v1.0.1 | ||
with: | ||
command: clippy | ||
toolchain: stable | ||
args: --all | ||
|
||
- name: Checking clippy | ||
uses: actions-rs/cargo@master | ||
uses: actions-rs/cargo@v1.0.1 | ||
with: | ||
command: clippy | ||
toolchain: stable | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: cargo | ||
directory: "/" | ||
labels: [] | ||
schedule: | ||
interval: "daily" | ||
rebase-strategy: disabled | ||
open-pull-requests-limit: 2 | ||
|
||
- package-ecosystem: github-actions | ||
directory: "/" | ||
labels: [] | ||
schedule: | ||
interval: "daily" | ||
rebase-strategy: disabled | ||
open-pull-requests-limit: 2 |
Oops, something went wrong.