Skip to content

Commit

Permalink
Merge branch 'main' into ramonpetgrave64-patch-4
Browse files Browse the repository at this point in the history
  • Loading branch information
ramonpetgrave64 committed May 22, 2024
2 parents 138e5ef + b55bf59 commit 3c0bb06
Show file tree
Hide file tree
Showing 7 changed files with 13,057 additions and 383 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/pre-submit.lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-node@v4
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: 16
node-version: 20
- run: make eslint

renovate-config-validator:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: 20
- run: make renovate-config-validator
6 changes: 4 additions & 2 deletions .github/workflows/update-actions-dist-post-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ jobs:
- name: checkout-pr
env:
GH_TOKEN: ${{ github.token }}
run: gh pr checkout ${{ inputs.pr_number }}
PR_NUMBER: ${{ inputs.pr_number }}
run: gh pr checkout "$PR_NUMBER"
- name: run-command
run: |
(
Expand Down Expand Up @@ -75,7 +76,8 @@ jobs:
- name: checkout-pr
env:
GH_TOKEN: ${{ github.token }}
run: gh pr checkout ${{ inputs.pr_number }}
PR_NUMBER: ${{ inputs.pr_number }}
run: gh pr checkout "$PR_NUMBER"
- name: download-patch
uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 # v4.1.4
with:
Expand Down
27 changes: 25 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,26 @@
# Ignore the .git directory (for markdownlint)
.git

# Binaries for programs and plugins
*.exe
*.exe~
*.dll
*.so
*.dylib

# Test binary, built with `go test -c`
*.test

# Output of the go coverage tool, specifically when used with LiteIDE
*.out

# Dependency directories (remove the comment below to include it)
vendor/
node_modules/

# Go workspace file
go.work
go.work.sum

# goland
.idea
node_modules
vendor
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ markdown-toc: node_modules/.installed ## Runs markdown-toc on markdown files.
#####################################################################

.PHONY: lint
lint: golangci-lint eslint yamllint ## Run all linters.
lint: golangci-lint eslint yamllint renovate-config-validator ## Run all linters.

.PHONY: golangci-lint
golangci-lint: ## Runs the golangci-lint linter.
Expand All @@ -93,3 +93,7 @@ yamllint: ## Runs the yamllint linter.
extraargs="-f github"; \
fi; \
yamllint -c .yamllint.yaml . $$extraargs

.PHONY: renovate-config-validator
renovate-config-validator: node_modules/.installed ## Runs renovate-config-validator
@npm run renovate-config-validator
Loading

0 comments on commit 3c0bb06

Please sign in to comment.