Skip to content

Commit

Permalink
ci: fix CI issues, add dependabot
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisBrunner committed Nov 25, 2024
1 parent 96d4d14 commit 834d26e
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 1 deletion.
29 changes: 29 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: /
schedule:
interval: weekly
groups:
actions-deps:
patterns:
- "*"

- package-ecosystem: gomod
directory: /
schedule:
interval: monthly
groups:
security-updates:
applies-to: security-updates
patterns:
- "*"
major-updates:
applies-to: version-updates
update-types:
- "major"
minor-updates:
applies-to: version-updates
update-types:
- "minor"
- "patch"
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
GOARCH: ${{ matrix.arch }}
GOARM: ${{ matrix.arm }}
- name: Upload artifact
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: avahi2dns-linux-${{ matrix.label }}
path: avahi2dns
28 changes: 28 additions & 0 deletions .github/workflows/lint-gha.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Lint Github Actions

on:
push:
branches: [main]
paths:
- ".github/**"
pull_request:
paths:
- ".github/**"

jobs:
lint:
name: Lint YAML files
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ibiqlik/action-yamllint@v3
with:
file_or_dir: .github
config_data: |
extends: default
rules:
line-length:
max: 120
level: warning
document-start: disable
truthy: disable

0 comments on commit 834d26e

Please sign in to comment.