Skip to content

chore(deps): bump unsafe-libyaml from 0.2.5 to 0.2.10 #13

chore(deps): bump unsafe-libyaml from 0.2.5 to 0.2.10

chore(deps): bump unsafe-libyaml from 0.2.5 to 0.2.10 #13

Workflow file for this run

on:
pull_request:
push:
branches:
- main
name: Checks
jobs:
check:
name: Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Get Cargo.lock checksum
id: checksum
run: echo "::set-output name=checksum::$(md5sum Cargo.lock | cut -d ' ' -f 1)"
- name: Cache dependencies
uses: actions/cache@v3
with:
path: |
~/.cargo/bin
~/.cargo/registry/index
~/.cargo/registry/cache
target
key: ${{ runner.os }}-build-cache-dependencies-${{ steps.checksum.outputs.checksum }}
restore-keys: ${{ runner.os }}-build-cache-dependencies
- uses: actions-rs/cargo@v1
with:
command: check
fmt:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/cargo@v1
with:
command: fmt
args: -- --check
clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Get Cargo.lock checksum
id: checksum
run: echo "::set-output name=checksum::$(md5sum Cargo.lock | cut -d ' ' -f 1)"
- name: Cache dependencies
uses: actions/cache@v3
with:
path: |
~/.cargo/bin
~/.cargo/registry/index
~/.cargo/registry/cache
target
key: ${{ runner.os }}-build-cache-dependencies-${{ steps.checksum.outputs.checksum }}
restore-keys: ${{ runner.os }}-build-cache-dependencies
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
name: Output