Skip to content

Commit 4b7523b

Browse files
authored
Merge pull request #37 from kurtjd/include-cargo-lock
Track Cargo.lock in git
2 parents a7a3c8d + e5a0ea8 commit 4b7523b

File tree

4 files changed

+144
-5
lines changed

4 files changed

+144
-5
lines changed

.github/workflows/check.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jobs:
8989
- name: Install nightly
9090
uses: dtolnay/rust-toolchain@nightly
9191
- name: cargo doc
92-
run: cargo doc --no-deps --all-features
92+
run: cargo doc --no-deps --all-features --locked
9393
env:
9494
RUSTDOCFLAGS: --cfg docsrs
9595

@@ -109,7 +109,7 @@ jobs:
109109
# intentionally no target specifier; see https://github.com/jonhoo/rust-ci-conf/pull/4
110110
# --feature-powerset runs for every combination of features
111111
- name: cargo hack
112-
run: cargo hack --feature-powerset check
112+
run: cargo hack --feature-powerset check --locked
113113

114114
msrv:
115115
# check that we can build using the minimal rust version that is specified by this crate
@@ -139,4 +139,4 @@ jobs:
139139
with:
140140
toolchain: ${{ matrix.msrv }}
141141
- name: cargo +${{ matrix.msrv }} check
142-
run: cargo check
142+
run: cargo check --locked

.github/workflows/nostd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ jobs:
2727
- name: rustup target add ${{ matrix.target }}
2828
run: rustup target add ${{ matrix.target }}
2929
- name: cargo check
30-
run: cargo check --target ${{ matrix.target }} --no-default-features
30+
run: cargo check --target ${{ matrix.target }} --no-default-features --locked

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
/target
2-
Cargo.lock

Cargo.lock

Lines changed: 140 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)