File: format.yaml

package info (click to toggle)
ros-random-numbers 0.3.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 132 kB
  • sloc: cpp: 103; xml: 16; makefile: 3
file content (16 lines) | stat: -rw-r--r-- 391 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# This is a format job. Pre-commit has a first-party GitHub action, so we use
# that: https://github.com/pre-commit/action

name: Format

on: [push, pull_request]

jobs:
  pre-commit:
    name: Format
    runs-on: ubuntu-20.04
    steps:
    - uses: actions/checkout@v4
    - name: Install clang-format-10
      run: sudo apt-get install clang-format-10
    - uses: pre-commit/action@v3.0.1