Skip to content

Commit

Permalink
ci: ensure Cargo.lock is up to date on every build
Browse files Browse the repository at this point in the history
  • Loading branch information
scarvalhojr committed Nov 10, 2022
1 parent 873ca78 commit 32ebed3
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 28 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,13 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Build
run: cargo build --verbose

# Ensure committed Cargo.lock is up to date
- name: Check Cargo.lock
run: git diff --exit-code

- name: Run tests
run: cargo test --verbose
54 changes: 27 additions & 27 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "aoc-cli"
description = "Advent of Code command-line helper tool"
version = "0.4.1"
version = "0.4.2"
authors = ["Sergio de Carvalho <[email protected]>"]
categories = ["command-line-utilities"]
edition = "2021"
Expand Down

0 comments on commit 32ebed3

Please sign in to comment.