Skip to content

Commit

Permalink
new workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
pnmadelaine committed Apr 23, 2024
1 parent 91c5267 commit 18bc3f4
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/rustc-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
on:
schedule:
- cron: '0 0 * * 0'
workflow_dispatch:

jobs:
rustc-tests:
runs-on: [self-hosted, linux, nix]
steps:
- uses: actions/checkout@v4
- run: |
nix build -L '.#rustc-tests'
echo "Summary of the results:" > message.txt
cat result/charon-results | cut -d' ' -f 2 | sort | uniq -c >> message.txt
- uses: actions/github-script@v7
with:
script: |
const fs = require('node:fs');
const message = fs.readFileSync('./message.txt', 'utf8');
github.rest.issues.createComment({
issue_number: 145,
owner: context.repo.owner,
repo: context.repo.repo,
body: message,
});

0 comments on commit 18bc3f4

Please sign in to comment.