Skip to content

Merge pull request #211 from SWIFTSIM/add_fields_to_repr #200

Merge pull request #211 from SWIFTSIM/add_fields_to_repr

Merge pull request #211 from SWIFTSIM/add_fields_to_repr #200

Workflow file for this run

name: Check formatting
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ master ]
pull_request:
branches: [ master ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
# Formatting check
formatting:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
# Runs the formatting script
- name: Formatting
run: bash format.sh --check