Skip to content

Update validator requirement from 0.18 to 0.19 #4

Update validator requirement from 0.18 to 0.19

Update validator requirement from 0.18 to 0.19 #4

Workflow file for this run

name: check-pr
on:
pull_request:
jobs:
check-pr:
permissions: write-all
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: 'true'
- uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
~/.rustup
/usr/local/cargo
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Install rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: clippy
- name: Run rustfmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- name: Run clippy
uses: actions-rs/clippy@master
with:
args: --all -- -D warnings
- name: Cargo Test
uses: actions-rs/cargo@v1
with:
command: test
args: -q
- name: merge
if: ${{ github.actor == 'dependabot[bot]' }}
run: |
gh pr merge --auto --merge $GITHUB_HEAD_REF
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}