Skip to content

Commit

Permalink
ci: set up Github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
RoyXiang committed Mar 5, 2022
1 parent 0af73af commit c80eb21
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
version: 2
updates:
- package-ecosystem: gomod
directory: '/'
schedule:
schedule:
interval: daily
time: '01:00'
open-pull-requests-limit: 10
labels:
- dependencies

- package-ecosystem: 'github-actions'
directory: '/'
schedule:
interval: daily
time: '01:00'
open-pull-requests-limit: 10
labels:
- dependencies
28 changes: 28 additions & 0 deletions .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: goreleaser

on:
push:
tags:
- '*'

jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
-
name: Set up Go
uses: actions/setup-go@v2
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
distribution: goreleaser
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit c80eb21

Please sign in to comment.