Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 17 additions & 9 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ on:
branches: [ main ]
pull_request:

permissions:
contents: read
checks: write

jobs:
ci:
name: CI
Expand Down Expand Up @@ -83,6 +79,9 @@ jobs:

test-results:
name: Test Results
permissions:
contents: write
checks: write
runs-on: ubuntu-latest
continue-on-error: true
strategy:
Expand Down Expand Up @@ -172,10 +171,19 @@ jobs:
with:
name: badge-${{ env.BADGE_NAME }}
path: badge-${{ env.BADGE_NAME }}.svg
- name: Upload badge to Gist
- name: Checkout badges branch
if: steps.publish.outputs.badge
uses: andymckay/append-gist-action@ab30bf28df67017c7ad696500b218558c7c04db3
uses: actions/checkout@v6
with:
token: ${{ secrets.GIST_TOKEN }}
gistURL: https://gist.githubusercontent.com/andreaTP/69354d1cc6cf23e4c3c4a9a8daf7ea15
file: badge-${{ env.BADGE_NAME }}.svg
ref: badges
path: badges
- name: Upload badge to badges branch
if: steps.publish.outputs.badge
run: |
cd badges
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
cp ../badge-${{ env.BADGE_NAME }}.svg .
git add badge-${{ env.BADGE_NAME }}.svg
git commit -m "Update ${{ env.BADGE_NAME }} badge" || exit 0
git push -f
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
<a href="/CONTRIBUTING.md">Contributing</a>
</p>

[![Interpreter Test Results](https://gist.githubusercontent.com/andreaTP/69354d1cc6cf23e4c3c4a9a8daf7ea15/raw/badge-interpreter.svg)](https://gist.githubusercontent.com/andreaTP/69354d1cc6cf23e4c3c4a9a8daf7ea15/raw/badge-interpreter.svg)
[![Compiler Test Results](https://gist.githubusercontent.com/andreaTP/69354d1cc6cf23e4c3c4a9a8daf7ea15/raw/badge-compiler.svg)](https://gist.githubusercontent.com/andreaTP/69354d1cc6cf23e4c3c4a9a8daf7ea15/raw/badge-compiler.svg)
[![WASI Test Results](https://gist.githubusercontent.com/andreaTP/69354d1cc6cf23e4c3c4a9a8daf7ea15/raw/badge-wasi.svg)](https://gist.githubusercontent.com/andreaTP/69354d1cc6cf23e4c3c4a9a8daf7ea15/raw/badge-wasi.svg)
[![Interpreter Test Results](https://raw.githubusercontent.com/bytecodealliance/endive/badges/badge-interpreter.svg)](https://github.com/bytecodealliance/endive/actions)
[![Compiler Test Results](https://raw.githubusercontent.com/bytecodealliance/endive/badges/badge-compiler.svg)](https://github.com/bytecodealliance/endive/actions)
[![WASI Test Results](https://raw.githubusercontent.com/bytecodealliance/endive/badges/badge-wasi.svg)](https://github.com/bytecodealliance/endive/actions)

[![Zulip](https://img.shields.io/badge/zulip-join_chat-brightgreen.svg)](https://bytecodealliance.zulipchat.com/#narrow/stream/endive)

Expand Down
Loading