-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: MrCroxx <[email protected]>
- Loading branch information
Showing
1 changed file
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: "Misc Check" | ||
|
||
on: | ||
push: | ||
branches: | ||
- "main" | ||
- "forks/*" | ||
pull_request: | ||
branches: | ||
- "main" | ||
- "release-*.*" | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }} | ||
cancel-in-progress: ${{ github.event_name == 'pull_request' }} | ||
|
||
jobs: | ||
misc-check: | ||
name: misc check | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Run typos check | ||
uses: crate-ci/typos@master | ||
- name: Install yq | ||
run: | | ||
wget https://github.com/mikefarah/yq/releases/download/${YQ_VERSION}/${BINARY}.tar.gz -O - | tar xz && sudo mv ${BINARY} /usr/bin/yq | ||
env: | ||
YQ_VERSION: v4.16.1 | ||
BINARY: yq_linux_amd64 | ||
BUF_VERSION: 1.0.0-rc6 | ||
- name: Install jq | ||
uses: dcarbone/[email protected] | ||
- name: Check if Grafana dashboards are minimized | ||
run: | | ||
./scripts/minimize-dashboards.sh --check | ||
- name: Run ShellCheck | ||
uses: ludeeus/action-shellcheck@master |