Skip to content

reuse github workflows #2

reuse github workflows

reuse github workflows #2

Workflow file for this run

on:
push:
branches:
- main
pull_request: {}
name: Test
jobs:
build_and_test:
name: Test
runs-on: ubuntu-latest
permissions:
checks: write
contents: read
pull-requests: write
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
components: clippy
- uses: Swatinem/rust-cache@v2
- run: cargo run -- ip -d
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features