Skip to content

Commit

Permalink
Merge pull request #83 from suzuki-shunsuke/ci-release
Browse files Browse the repository at this point in the history
ci: set up a GitHub Actions workflow to release minimock
  • Loading branch information
hexdigest authored Jan 7, 2024
2 parents ef6cabb + 3edd066 commit 1ae0b04
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 3 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
name: Release
on:
push:
tags: [v*]
permissions:
contents: write # To create releases
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
go-version: '1.21.5'
- uses: goreleaser/[email protected]
with:
version: v1.23.0
args: release --clean
env:
GITHUB_TOKEN: ${{ github.token }}
3 changes: 0 additions & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
project_name: minimock
before:
hooks:
- make all
builds:
-
main: ./cmd/minimock/
Expand Down

0 comments on commit 1ae0b04

Please sign in to comment.