Add clang-format #178
Labels
No labels
P0
P1
P2
P3
good first issue
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No milestone
No project
No assignees
5 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/xk6-frostfs#178
Loading…
Reference in a new issue
No description provided.
Delete branch "achuprov/xk6-frostfs:feat/add_clag_format"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Close #164
Signed-off-by: Alexander Chuprov a.chuprov@yadro.com
4f046bcfbc
toaf5f29e1ff
@ -23,0 +29,4 @@
- name: Restore LLVM
id: cache-primes-restore
uses: actions/cache/restore@v4
Separate save/restore steps are not required if you just want to save cache at the end of workflow run. Single
actions/cache
invocation will suffice, e.g:- uses: actions/cache@v4
with:
path: |-
bin/
themes/
key: hugo-${{ runner.os }}-${{ hashFiles('Makefile', 'config.toml') }}
restore-keys: |
hugo-${{ runner.os }}
hugo
Also, assigning
id
s to steps is not useful if you don't plan to reference these steps later in the workflow.For
clang-format
, it seems redundant to me. I didn’t notice any difference in behavior across different versions ofclang-format
. However, forTrueCloudLab linter
, we can add this optimization.12afcb844d
to6adc201c2c
wip: Add clang-formatto WIP: wip: Add clang-formatWIP: wip: Add clang-formatto Add clang-format@ -0,0 +33,4 @@
- repo: local
hooks:
- id: make-lint
make-lint
->make-clang
?6adc201c2c
to26616839e9
New commits pushed, approval review dismissed automatically according to repository settings
New commits pushed, approval review dismissed automatically according to repository settings
@ -74,6 +74,9 @@ lint:
fi
$(LINT_DIR)/golangci-lint run --timeout=5m
clang:
Please, use
fmt:
, we are not building clang, we are formatting code.Actually, we already have
format
.26616839e9
to5b4a51b703
5b4a51b703
to7bafdf0477
7bafdf0477
to978e1b891e
@ -63,2 +63,4 @@
@go tool cover -html=coverage.txt -o coverage.html
# Install gofumpt
fumpt-install:
This is completely unrelated to the commit
Makefile: Add clang-format support
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.