Skip to content

Commit

Permalink
Commit Cargo.lock for MSRV testing
Browse files Browse the repository at this point in the history
This fixes a broken build in CI with the latest versions of serde_test
and proc-macro.

c.f. https://blog.rust-lang.org/2023/08/29/committing-lockfiles.html
  • Loading branch information
mbrubeck committed Oct 16, 2023
1 parent 989c823 commit ed287d2
Show file tree
Hide file tree
Showing 3 changed files with 178 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ jobs:
toolchain: ${{ matrix.rust }}
override: true
profile: minimal
- name: Potentially pin serde dep for MSRV check
if: matrix.rust == '1.36.0'
run: cargo update -p serde --precise 1.0.156
- name: Unpin dependencies except on MSRV
if: matrix.rust != '1.36.0'
run: cargo update
- uses: actions-rs/cargo@v1
with:
command: build
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
Cargo.lock
/data/
/target/
/*.html
175 changes: 175 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ed287d2

Please sign in to comment.