Skip to content

Commit 34f2647

Browse files
committed
ci: add everything needed for the CI
1 parent c2e1075 commit 34f2647

File tree

4 files changed

+39
-1
lines changed

4 files changed

+39
-1
lines changed

.github/dependabot.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
version: 2
3+
updates:
4+
# Maintain dependencies for GitHub Actions
5+
# These would open PR, these PR would be tested with the CI
6+
# They will have to be merged manually by a maintainer
7+
- package-ecosystem: github-actions
8+
directory: /
9+
open-pull-requests-limit: 10 # avoid spam, if no one reacts
10+
schedule:
11+
interval: weekly
12+
time: '11:00'

.github/workflows/ci.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
name: CI
3+
on: # yamllint disable-line rule:truthy
4+
push:
5+
jobs:
6+
yaml-lint:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v3
10+
- name: yaml-lint
11+
uses: ibiqlik/action-yamllint@v3

.github/workflows/spellchecker.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
name: spell checking
3+
on: # yamllint disable-line rule:truthy
4+
push:
5+
6+
jobs:
7+
typos:
8+
name: Spell Check with Typos
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout Actions Repository
12+
uses: actions/checkout@v4
13+
- name: typos-action
14+
uses: crate-ci/typos@v1.21.0

empty/.golangci.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
22
# empty file to force using the default settings
3-
# otherwise golangci-lint looks for .golangci.yaml files in folders above current one
3+
# otherwise golangci-lint looks for .golangci.yaml files
4+
# in parent folders
45
# this may cause issues

0 commit comments

Comments
 (0)