Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Resyntax Autofixer workflow #339

Merged
merged 1 commit into from
Oct 27, 2024
Merged
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
36 changes: 36 additions & 0 deletions .github/workflows/resyntax-autofixer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Resyntax Autofixer

on:
workflow_dispatch:
schedule:
- cron: "0 0 * * 2"

jobs:
autofix:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
permissions:
pull-requests: write
contents: write
steps:
- name: Checkout code
uses: actions/[email protected]
- uses: Bogdanp/[email protected]
with:
architecture: 'x64'
distribution: 'minimal'
version: 'current'
- name: Install and setup
run: |
raco pkg install --auto compiler-lib
racket -l- pkg/dirs-catalog --link --check-metadata pkgs-catalog .
echo file://`pwd`/pkgs-catalog/ > catalog-config.txt
raco pkg config catalogs >> catalog-config.txt
raco pkg config --set catalogs `cat catalog-config.txt`
raco pkg install -i --auto --no-setup gui-lib/ gui-doc/ gui/ tex-table/ gui-test/
raco setup --pkgs gui gui-lib gui-test tex-table
- name: Create a Resyntax pull request
uses: jackfirth/[email protected]
with:
private-key: ${{ secrets.RESYNTAX_APP_PRIVATE_KEY }}
Loading