Skip to content

docs(readme): missing word #54

docs(readme): missing word

docs(readme): missing word #54

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]
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
release:
name: release
if: ${{ github.ref == 'refs/heads/main' && github.repository_owner == 'loiccoyle' }}
needs:
- test
outputs:
release_created: ${{ steps.release.outputs.release_created }}
runs-on: ubuntu-latest
steps:
- uses: googleapis/release-please-action@v4
id: release
with:
config-file: .github/release-please-config.json
manifest-file: .github/.release-please-manifest.json
publish:
name: Publish
needs:
- release
if: needs.release.outputs.release_created
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Install toolchain
run: rustup toolchain install stable --profile minimal
- uses: Swatinem/rust-cache@v2
- name: Publish thqm crate
run: cargo publish --token ${{ secrets.CARGO_TOKEN }}
readme:
runs-on: ubuntu-latest
name: Update readme
needs:
- test
if: github.event_name == 'push' && github.repository == 'loiccoyle/thqm-rs' && github.ref_name == 'main'
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>
file_pattern: README.md