Skip to content

CMU-Delphi submission 2025-07-24 #7

CMU-Delphi submission 2025-07-24

CMU-Delphi submission 2025-07-24 #7

Workflow file for this run

###############################################################################
# OVERVIEW
###############################################################################
# The following is a workflow derived from
# https://github.com/posit-dev/setup-air/blob/main/examples/format-check.yaml
#
# Description:
#
# This runs air format . --check on every push to main and on every pull
# request. This is a very simple action that fails if any files would be
# reformatted. When this happens, reformat locally using air format . or
# the Air: Format Workspace Folder command in VS Code or Positron, and commit
# and push the results.
###############################################################################
on:
push:
branches: [main, master]
pull_request:
name: format-check.yaml
permissions: read-all
jobs:
format-check:
name: format-check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install
uses: posit-dev/setup-air@v1
- name: Check
run: air format . --check