Skip to content

Change logo image in README #23

Change logo image in README

Change logo image in README #23

Workflow file for this run

name: Spec Progress - Generate Report
on:
push:
branches: [ "master" ]
pull_request:
jobs:
pages:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
components: llvm-tools-preview
- name: Install cargo-nextest
uses: taiki-e/install-action@nextest
# 1. Run tests with nextest to generate JUnit XML
- name: Run Tests with nextest
run: cargo nextest run --color never --no-fail-fast --all-features --workspace 2>&1 | tee test_output.txt
continue-on-error: true
# 2. Generate Coverage Report
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
- name: Generate Coverage JSON
run: cargo llvm-cov --all-features --workspace --json --ignore-run-errors --output-path coverage.json
continue-on-error: true
# 3. Generate Custom "Are We Mod Yet?" Page
- name: Generate Progress Page
env:
TEST_OUTPUT_FILE: test_output.txt
run: bash .github/scripts/generate-progress-page.sh
# 4. Copy logo to deployment directory
- name: Copy Assets
run: |
cp img/hydmg10p.png ./gh-pages-deploy/logo.png
# 6. Deploy to GitHub Pages (Master Only)
- name: Deploy to GitHub Pages
if: github.ref == 'refs/heads/master'
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./gh-pages-deploy
force_orphan: true # Keeps the gh-pages branch history clean