mirror of
https://github.com/HarbourMasters/Starship.git
synced 2025-04-28 12:27:59 +03:00
Create format.yaml
This commit is contained in:
parent
755097a5a5
commit
491b9931c4
1 changed files with 19 additions and 0 deletions
19
.github/workflows/format.yaml
vendored
Normal file
19
.github/workflows/format.yaml
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
name: Check Format
|
||||
|
||||
# Build on every branch push, tag push, and pull request change:
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Check format
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout reposistory
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install package requirements
|
||||
run: sudo apt-get install -y python3 python3-pip clang-format-14 clang-tidy-14
|
||||
|
||||
- name: Check format
|
||||
run: ./tools/check_format.sh
|
Loading…
Add table
Add a link
Reference in a new issue