ci: support Rust 1.97 and modernize workflows (#210)

* Modernize workflow actions and permissions

* Test the fentry tutorial in CI

* Support Rust 1.97 symbol mangling

* Limit documentation writes to main

* Harden Rust symbol resolution

---------

Co-authored-by: LinuxDev9002 <i@littlefisher.me>
This commit is contained in:
云微
2026-07-14 03:58:41 -07:00
committed by GitHub
parent 3a722c03d5
commit 39e3f59119
7 changed files with 79 additions and 63 deletions

View File

@@ -7,18 +7,21 @@ on:
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
trigger:
runs-on: ubuntu-latest
steps:
- name: Checkout website repo
uses: actions/checkout@v3
uses: actions/checkout@v7
with:
repository: ${{ github.repository_owner }}/eunomia.dev
ref: main
path: ./.
- uses: actions/setup-python@v4
- uses: actions/setup-python@v6
with:
python-version: 3.x
@@ -32,7 +35,7 @@ jobs:
- name: Trigger sync workflow
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: peter-evans/repository-dispatch@v2
uses: peter-evans/repository-dispatch@v4
with:
token: ${{ secrets.PAT }}
repository: ${{ github.repository_owner }}/eunomia.dev