pr: do zig fmt --check on pull requests #197
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: automation | |
on: | |
push: | |
workflow_dispatch: | |
jobs: | |
automation: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: DeterminateSystems/nix-installer-action@main | |
- uses: DeterminateSystems/magic-nix-cache-action@main | |
- run: | | |
nix run .#test | |
nix run .#readme > README.md | |
- uses: test-room-7/[email protected] | |
with: | |
branch: ${{ github.head_ref || github.ref_name }} | |
file-path: | | |
README.md | |
commit-msg: Automatic update | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
macos-test: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: DeterminateSystems/nix-installer-action@main | |
- uses: DeterminateSystems/magic-nix-cache-action@main | |
- run: | | |
nix run .#test | |
nix run .#readme |