Skip to content

Commit

Permalink
Start tracking Cargo.lock file
Browse files Browse the repository at this point in the history
 * Update the Nightly run so that it builds without a Cargo.lock
   file as well.
 * Setup manual triggering for the Nightly.

Please refer to https://blog.rust-lang.org/2023/08/29/committing-lockfiles.html
for more information.

Signed-off-by: Tomás González <[email protected]>
  • Loading branch information
tgonzalezorlandoarm authored and gowthamsk-arm committed Oct 5, 2023
1 parent 661d7bb commit dd7d29f
Show file tree
Hide file tree
Showing 3 changed files with 742 additions and 2 deletions.
14 changes: 13 additions & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
description: "Revision hash to run against"
required: false
default: ""

jobs:
dependencies:
name: Check for unused dependencies
Expand All @@ -30,6 +30,18 @@ jobs:
- name: Execute cargo udeps
run: cargo +nightly udeps

build:
name: Build and check formatting with updated dependencies
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: "${{ github.event.inputs.rev }}"
- name: Execute all tests
run: |
rm Cargo.lock
./tests/ci.sh
audit:
name: Check for crates with security vulnerabilities
runs-on: ubuntu-latest
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/target
Cargo.lock
tags
*patch
Loading

0 comments on commit dd7d29f

Please sign in to comment.