mirror of
https://github.com/eunomia-bpf/bpf-developer-tutorial.git
synced 2026-10-29 03:34:44 +08:00
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:
9
.github/workflows/trigger-sync.yml
vendored
9
.github/workflows/trigger-sync.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user