luispater commited on
Commit
08eb8f4
·
unverified ·
1 Parent(s): 33ad0c6

ci(workflows): update pr-test-build workflow

Browse files
Files changed (1) hide show
  1. .github/workflows/pr-test-build.yml +23 -0
.github/workflows/pr-test-build.yml ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: pr-test-build
2
+
3
+ on:
4
+ pull_request:
5
+
6
+ permissions:
7
+ contents: read
8
+
9
+ jobs:
10
+ build:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - name: Checkout
14
+ uses: actions/checkout@v4
15
+ - name: Set up Go
16
+ uses: actions/setup-go@v5
17
+ with:
18
+ go-version-file: go.mod
19
+ cache: true
20
+ - name: Build
21
+ run: |
22
+ go build -o test-output ./cmd/server
23
+ rm -f test-output