Skip to content

Commit b808c84

Browse files
committed
Use setup-sqlc in an action
1 parent 74c4490 commit b808c84

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/setup.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: "setup"
2+
on:
3+
push:
4+
branches:
5+
- main
6+
jobs:
7+
setup-linux:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: kyleconroy/setup-sqlc@main
11+
with:
12+
sqlc-version: '1.9.0'
13+
- run: sqlc version
14+
15+
setup-windows:
16+
runs-on: windows-latest
17+
steps:
18+
- uses: kyleconroy/setup-sqlc@main
19+
with:
20+
sqlc-version: '1.9.0'
21+
- run: sqlc version
22+
23+
setup-mac:
24+
runs-on: macos-latest
25+
steps:
26+
- uses: kyleconroy/setup-sqlc@main
27+
with:
28+
sqlc-version: '1.9.0'
29+
- run: sqlc version

0 commit comments

Comments
 (0)