Skip to content

Commit 8a7b6a8

Browse files
committed
format-check workflow test
1 parent b01703b commit 8a7b6a8

4 files changed

Lines changed: 27 additions & 2 deletions

File tree

File renamed without changes.

‎.github/workflows/format-check.yml‎

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Format Check
2+
3+
on:
4+
push:
5+
branches: [ master, main ]
6+
pull_request:
7+
branches: [ master, main ]
8+
workflow_dispatch:
9+
10+
jobs:
11+
check-format:
12+
runs-on: ubuntu-latest
13+
container:
14+
image: ghcr.io/yoofa/ave-ci:latest
15+
steps:
16+
- name: Checkout Code
17+
uses: actions/checkout@v4
18+
with:
19+
fetch-depth: 0
20+
21+
- name: Run Format Check
22+
uses: yoofa/build-images/actions/format-check@master
23+
#uses: ../../../build-images/actions/format-check/action.yml
24+
with:
25+
upstream: ${{ github.base_ref || 'master' }}

‎BUILD.gn‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ ave_library("base") {
2222
#testonly = true
2323
visibility = [ "*" ]
2424

25-
sources = [
25+
sources = [
2626
"null.cc",
2727
"zero_memory.cc",
2828
"zero_memory.h",

‎errors.cc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* Distributed under terms of the GPLv2 license.
66
*/
77

8-
#include "errors.h"
8+
#include "errors.h"
99

1010
#include <cstring>
1111
#include <string>

0 commit comments

Comments
 (0)