This repository has been archived by the owner on Apr 4, 2024. It is now read-only.
Bump the dependencies group with 1 update #85
Workflow file for this run
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
name: Run Tests | |
on: [ push, pull_request ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build_and_test: | |
name: Build and Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 1 | |
- name: Build and test | |
run: | | |
cargo build --verbose | |
cargo test --verbose | |
- name: Check Cargo.lock | |
run: | | |
git diff --exit-code -- Cargo.lock | |
if [ $? -ne 0 ]; then | |
echo "Cargo.lock was modified. Please commit the changes." | |
exit 1 | |
fi |