We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 04f796f commit f6a014eCopy full SHA for f6a014e
.github/workflows/pull_request.yml
@@ -1,10 +1,26 @@
1
on: pull_request
2
name: Pull Request
3
-defaults:
4
- run:
5
- shell: powershell
6
jobs:
+ lint:
+ runs-on: ubuntu-latest
+ timeout-minutes: 5
7
+ strategy:
8
+ fail-fast: true
9
+ steps:
10
+ - uses: actions/checkout@v4
11
+ - uses: actions/setup-go@v5
12
+ with:
13
+ go-version: ">=1.22.0"
14
+ - name: gofmt
15
+ working-directory: ./Companion
16
+ run: |
17
+ if [ "$(gofmt -l . | wc -l)" -gt 0 ]; then
18
+ exit 1
19
+ fi
20
test:
21
+ defaults:
22
+ run:
23
+ shell: powershell
24
name: test
25
runs-on: windows-latest
26
steps:
@@ -34,4 +50,4 @@ jobs:
34
50
35
51
- name: Test README generation
36
52
run: |
37
- make readme
53
+ make readme
0 commit comments