-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: fix CI issues, add dependabot (#10)
- Loading branch information
1 parent
96d4d14
commit 7dfa9ed
Showing
4 changed files
with
174 additions
and
117 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,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" |
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
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,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 |
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 |
---|---|---|
|
@@ -3,70 +3,70 @@ name: Release | |
on: | ||
release: | ||
types: | ||
- created | ||
- created | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Download all workflow artifacts | ||
uses: dawidd6/action-download-artifact@v6 | ||
with: | ||
workflow: build.yml | ||
branch: ${{ github.event.release.target_commitish }} | ||
# FIXME: I hate this | ||
- name: Upload | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ github.event.release.upload_url }} | ||
asset_path: avahi2dns-linux-armv5/avahi2dns | ||
asset_name: avahi2dns-linux-armv5 | ||
asset_content_type: binary/octet-stream | ||
- name: Upload | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ github.event.release.upload_url }} | ||
asset_path: avahi2dns-linux-armv6/avahi2dns | ||
asset_name: avahi2dns-linux-armv6 | ||
asset_content_type: binary/octet-stream | ||
- name: Upload | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ github.event.release.upload_url }} | ||
asset_path: avahi2dns-linux-armv7/avahi2dns | ||
asset_name: avahi2dns-linux-armv7 | ||
asset_content_type: binary/octet-stream | ||
- name: Upload | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ github.event.release.upload_url }} | ||
asset_path: avahi2dns-linux-arm64/avahi2dns | ||
asset_name: avahi2dns-linux-arm64 | ||
asset_content_type: binary/octet-stream | ||
- name: Upload | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ github.event.release.upload_url }} | ||
asset_path: avahi2dns-linux-amd64/avahi2dns | ||
asset_name: avahi2dns-linux-amd64 | ||
asset_content_type: binary/octet-stream | ||
- name: Upload | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ github.event.release.upload_url }} | ||
asset_path: avahi2dns-linux-i386/avahi2dns | ||
asset_name: avahi2dns-linux-i386 | ||
asset_content_type: binary/octet-stream | ||
- name: Download all workflow artifacts | ||
uses: dawidd6/action-download-artifact@v6 | ||
with: | ||
workflow: build.yml | ||
branch: ${{ github.event.release.target_commitish }} | ||
# FIXME: I hate this | ||
- name: Upload | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ github.event.release.upload_url }} | ||
asset_path: avahi2dns-linux-armv5/avahi2dns | ||
asset_name: avahi2dns-linux-armv5 | ||
asset_content_type: binary/octet-stream | ||
- name: Upload | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ github.event.release.upload_url }} | ||
asset_path: avahi2dns-linux-armv6/avahi2dns | ||
asset_name: avahi2dns-linux-armv6 | ||
asset_content_type: binary/octet-stream | ||
- name: Upload | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ github.event.release.upload_url }} | ||
asset_path: avahi2dns-linux-armv7/avahi2dns | ||
asset_name: avahi2dns-linux-armv7 | ||
asset_content_type: binary/octet-stream | ||
- name: Upload | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ github.event.release.upload_url }} | ||
asset_path: avahi2dns-linux-arm64/avahi2dns | ||
asset_name: avahi2dns-linux-arm64 | ||
asset_content_type: binary/octet-stream | ||
- name: Upload | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ github.event.release.upload_url }} | ||
asset_path: avahi2dns-linux-amd64/avahi2dns | ||
asset_name: avahi2dns-linux-amd64 | ||
asset_content_type: binary/octet-stream | ||
- name: Upload | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ github.event.release.upload_url }} | ||
asset_path: avahi2dns-linux-i386/avahi2dns | ||
asset_name: avahi2dns-linux-i386 | ||
asset_content_type: binary/octet-stream |