Skip to content

Merge pull request #55 from michaelmelanson/dependabot/cargo/nom_loca… #141

Merge pull request #55 from michaelmelanson/dependabot/cargo/nom_loca…

Merge pull request #55 from michaelmelanson/dependabot/cargo/nom_loca… #141

Workflow file for this run

name: Rust
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v1
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
- name: Set up cargo cache
uses: actions/cache@v3
continue-on-error: false
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-
- name: Check for build errors
uses: actions-rs/cargo@v1
with:
command: check
- name: Run tests
uses: actions-rs/cargo@v1
with:
command: test