Skip to content

Commit

Permalink
Merge pull request #107 from sol-eng/refactor-actions
Browse files Browse the repository at this point in the history
Streamline actions and use GITHUB_TOKEN
  • Loading branch information
tnederlof authored Mar 21, 2023
2 parents 9ed90c7 + 0218465 commit baac008
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 31 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/build-test-release.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
name: Build, Test and Release

on:
push:
tags:
- '*'
pull_request:
types:
- closed
branches:
- main

permissions:
contents: write
Expand All @@ -26,6 +28,12 @@ jobs:
run: go build -v ./...
# - name: Test
# run: go test -v ./...
- name: Bump version and push tag
uses: anothrNick/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WITH_V: true
DEFAULT_BUMP: patch

goreleaser:
needs: code-check
Expand All @@ -45,5 +53,5 @@ jobs:
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.ACTIONS_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
FURY_TOKEN: ${{ secrets.FURY_TOKEN }}
27 changes: 0 additions & 27 deletions .github/workflows/bump-version.yml

This file was deleted.

0 comments on commit baac008

Please sign in to comment.