fix(ci): bump macOS to version 12 #502
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: 'Lint' | |
on: | |
- 'push' | |
- 'pull_request' | |
jobs: | |
format: | |
name: 'Formatting' | |
runs-on: 'ubuntu-latest' | |
container: | |
image: 'docker.io/ubuntu:latest' | |
steps: | |
- name: "Dependencies" | |
run: 'apt update && apt install -y git clang-format' | |
- uses: 'actions/checkout@v3' | |
with: | |
submodules: 'recursive' | |
- name: 'clang-format' | |
shell: 'bash' | |
run: 'find include src tests examples -iname "*.hh" -or -iname "*.cc" | xargs clang-format --dry-run --style=file --Werror' |