Skip to content

fix: cleanup imports #7

fix: cleanup imports

fix: cleanup imports #7

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- "main"
jobs:
test:
name: Test Suite
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
rust: [stable]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Install toolchain
run: rustup toolchain install stable --profile minimal
- uses: Swatinem/rust-cache@v2
- name: Run tests
run: cargo test --lib
readme:
runs-on: ubuntu-latest
name: Update readme
needs: [test]
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.BOT_ACCESS_TOKEN }}
- name: Install toolchain
run: rustup toolchain install stable --profile minimal
- uses: Swatinem/rust-cache@v2
- name: Update readme
run: make readme
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "ci: Update readme"
branch: ${{ github.head_ref }}
commit_user_name: github-actions[bot]
commit_user_email: github-actions[bot]@users.noreply.github.com
commit_author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>