Skip to content

Bump up actions/checkout in GitHub Actions #48

Bump up actions/checkout in GitHub Actions

Bump up actions/checkout in GitHub Actions #48

Workflow file for this run

name: swift-format
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
# Full git history is needed to get a proper list of changed files
fetch-depth: 0
- name: Lint
uses: mtgto/swift-format-action@main
with:
# Please comment out if you won't specify configuration file
configuration_file: .swift-format
# default is false
all_files: true
# default is -1 (infinity)
max_warnings: -1