Skip to content

Commit

Permalink
fix(ci): fix incorrect actions config
Browse files Browse the repository at this point in the history
  • Loading branch information
piksel committed Dec 8, 2023
1 parent 6b57003 commit e33d48e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.20
go-version: 1.20.x
- name: Build
run: ./build.sh
test:
Expand All @@ -24,7 +26,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.20
go-version: 1.20.x
- name: Test
run: go test -v -coverprofile coverage.out -covermode atomic ./...
- name: Publish coverage
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ name: Release (Production)

on:
workflow_dispatch: {}
release:
types:
- created
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
- '**/v[0-9]+.[0-9]+.[0-9]+'
Expand Down Expand Up @@ -59,7 +57,7 @@ jobs:
- lint
env:
CGO_ENABLED: 0
TAG: ${{ github.event.release.tag_name }}
TAG: ${{ github.ref_name }}
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down

0 comments on commit e33d48e

Please sign in to comment.