Skip to content

chore: clear ignored advisories in audit configuration #9

chore: clear ignored advisories in audit configuration

chore: clear ignored advisories in audit configuration #9

Workflow file for this run

name: Release

Check failure on line 1 in .github/workflows/release-core.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release-core.yml

Invalid workflow file

(Line: 30, Col: 33): Unrecognized named-value: 'CARGO_REGISTRY_TOKEN'. Located at position 1 within expression: CARGO_REGISTRY_TOKEN
on:
release:
types: [published]
env:
CARGO_TERM_COLOR: always
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
release-plz:
name: Release-plz
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.RELEASE_GITHUB_TOKEN }}
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Run release-plz
uses: MarcoIeni/release-plz-action@v0.5
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ CARGO_REGISTRY_TOKEN }}
sync-cargo-docs:
name: Sync cargo docs to gh-pages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Sync Docs
run: |
cargo doc
pip install ghp-import
echo '<meta http-equiv=refresh content=0;url=mpesa/index.html>' > target/doc/index.html
ghp-import -n target/doc
git push -qf https://github.com/collinsmuriuki/mpesa-rust.git gh-pages