File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Pull Request
2
+
3
+ on : [push, pull_request]
4
+
5
+ jobs :
6
+ build :
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+ - uses : actions/checkout@v3
10
+ - name : Set up Go
11
+ uses : actions/setup-go@v4
12
+ with :
13
+ go-version : ' 1.21'
14
+ - name : Lint
15
+ run : make lint
16
+ - name : License check
17
+ run : |
18
+ curl -s https://raw.githubusercontent.com/lluissm/license-header-checker/master/install.sh | bash
19
+ ./bin/license-header-checker -a -r .github/license-header.txt . go && [[ -z `git status -s` ]]
20
+ - name : Unit tests
21
+ run : make test
22
+ env :
23
+ XATA_API_KEY : ${{ secrets.XATA_API_KEY }}
24
+ - name : Integration tests
25
+ run : make integration-test
26
+ env :
27
+ XATA_API_KEY : ${{ secrets.XATA_API_KEY }}
28
+ - name : Cleanup
29
+ run : make clean-workspaces
30
+ env :
31
+ XATA_API_KEY : ${{ secrets.XATA_API_KEY }}
You can’t perform that action at this time.
0 commit comments