Skip to content

Commit

Permalink
Keeping checkout and release in the same phase is important
Browse files Browse the repository at this point in the history
  • Loading branch information
alexlovelltroy committed Jan 12, 2024
1 parent d3ad239 commit dfd93c5
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,26 +11,14 @@ on:

jobs:

checkout:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-tags: 1

setup:
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21'

build:
runs-on: ubuntu-latest

steps:
- name: Release with goreleaser
uses: goreleaser/[email protected]
env:
Expand Down

0 comments on commit dfd93c5

Please sign in to comment.