Skip to content

Commit

Permalink
ci: add everything needed for the CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ccoVeille committed Jun 26, 2024
1 parent c2e1075 commit 8d34900
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
version: 2
updates:
# Maintain dependencies for GitHub Actions
# These would open PR, these PR would be tested with the CI
# They will have to be merged manually by a maintainer
- package-ecosystem: github-actions
directory: /
open-pull-requests-limit: 10 # avoid spam, if no one reacts
schedule:
interval: weekly
time: '11:00'
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
name: CI
on: # yamllint disable-line rule:truthy
push:
pull_request:
jobs:
yaml-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: yaml-lint
uses: ibiqlik/action-yamllint@v3
15 changes: 15 additions & 0 deletions .github/workflows/spellchecker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
name: spell checking
on: # yamllint disable-line rule:truthy
push:
pull_request:

jobs:
typos:
name: Spell Check with Typos
runs-on: ubuntu-latest
steps:
- name: Checkout Actions Repository
uses: actions/checkout@v4
- name: typos-action
uses: crate-ci/typos@v1.21.0
3 changes: 2 additions & 1 deletion empty/.golangci.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
# empty file to force using the default settings
# otherwise golangci-lint looks for .golangci.yaml files in folders above current one
# otherwise golangci-lint looks for .golangci.yaml files
# in parent folders
# this may cause issues

0 comments on commit 8d34900

Please sign in to comment.