Skip to content
This repository has been archived by the owner on Apr 21, 2024. It is now read-only.

Commit

Permalink
fix: sqlc generate in same job
Browse files Browse the repository at this point in the history
  • Loading branch information
GetPsyched committed Sep 25, 2023
1 parent c9448fa commit 4ece6c8
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,17 @@ on:
branches: [ "main" ]

jobs:
sqlc-generate:
go-build:
needs: sqlc-generate
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- uses: sqlc-dev/setup-sqlc@v4
with:
sqlc-version: '1.21.0'
- run: sqlc generate

go-build:
needs: sqlc-generate
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v4
with:
Expand Down

0 comments on commit 4ece6c8

Please sign in to comment.