Skip to content

Commit

Permalink
Update CI (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
cristaloleg authored Jan 5, 2024
1 parent cd954eb commit 8247281
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 16 deletions.
16 changes: 12 additions & 4 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
version: 2
updates:
- package-ecosystem: gomod
- package-ecosystem: "gomod"
commit-message:
prefix: "deps:"
directory: "/"
schedule:
interval: daily
- package-ecosystem: github-actions
interval: "weekly"
day: "sunday"
time: "09:00"
- package-ecosystem: "github-actions"
commit-message:
prefix: "ci:"
directory: "/"
schedule:
interval: daily
interval: "weekly"
day: "sunday"
time: "09:00"
18 changes: 6 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,14 @@ on:
push:
branches: [main]
pull_request:
workflow_dispatch:
inputs:
tag:
description: 'Tag to create'
required: true
default: 'v0.0.0'
branches: [main]
schedule:
- cron: '0 0 * * 0' # run "At 00:00 on Sunday"

# See https://github.com/cristalhq/.github/.github/workflows
jobs:
build:
uses: cristalhq/.github/.github/workflows/build.yml@main
uses: cristalhq/.github/.github/workflows/build.yml@v0.6.0

release:
if: github.event_name == 'workflow_dispatch'
uses: cristalhq/.github/.github/workflows/release.yml@main
with:
tag: ${{ github.event.input.tag }}
vuln:
uses: cristalhq/.github/.github/workflows/[email protected]

0 comments on commit 8247281

Please sign in to comment.