mirror of
https://github.com/soypat/lneto.git
synced 2026-09-11 09:09:30 +00:00
add memci
This commit is contained in:
@@ -135,3 +135,18 @@ jobs:
|
|||||||
name: bench-results
|
name: bench-results
|
||||||
path: bench-results.txt
|
path: bench-results.txt
|
||||||
retention-days: 30
|
retention-days: 30
|
||||||
|
memci:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
|
- uses: actions/setup-go@v6
|
||||||
|
with:
|
||||||
|
go-version: "1.26"
|
||||||
|
|
||||||
|
# Both binaries here are host tools. A TinyGo target would need
|
||||||
|
# acifani/setup-tinygo installed above and a build command naming it.
|
||||||
|
- uses: soypat/memci@main
|
||||||
|
with:
|
||||||
|
args: -kind package
|
||||||
|
targets: .github/memci.json
|
||||||
@@ -0,0 +1,24 @@
|
|||||||
|
name: memci comment
|
||||||
|
|
||||||
|
# Runs in the base repo's context with a write token, after the untrusted memci
|
||||||
|
# workflow finishes. It never checks out or runs PR code; it only consumes the
|
||||||
|
# report artifact as inert data.
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_run:
|
||||||
|
workflows: [memci]
|
||||||
|
types: [completed]
|
||||||
|
|
||||||
|
permissions: read-all
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
comment:
|
||||||
|
if: github.event.workflow_run.event == 'pull_request'
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
pull-requests: write
|
||||||
|
steps:
|
||||||
|
- uses: soypat/memci/comment@main
|
||||||
|
with:
|
||||||
|
run-id: ${{ github.event.workflow_run.id }}
|
||||||
Reference in New Issue
Block a user