-
Notifications
You must be signed in to change notification settings - Fork 0
66 lines (52 loc) · 1.38 KB
/
pr.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
name: Pull Request
on:
pull_request:
branches: '*'
jobs:
testAndLint:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.22.3'
- name: Lint/Staticcheck scraper
uses: dominikh/staticcheck-action@v1.3.0
with:
version: "2023.1"
install-go: false
working-directory: scraper
- name: Lint/Staticcheck proxy
uses: dominikh/staticcheck-action@v1.3.0
with:
version: "2023.1"
install-go: false
working-directory: proxy
- name: Build scraper
run: go build -v ./...
working-directory: scraper
- name: Test scraper
run: go test -v ./...
working-directory: scraper
- name: Build proxy
run: go build -v ./...
working-directory: proxy
- name: Build jobNotifier
run: go build -v ./...
working-directory: jobNotifier
- name: Test jobNotifier
run: go test -v ./...
working-directory: jobNotifier
- uses: denoland/setup-deno@v2
with:
deno-version: v2.1.4
- name: Install local dependencies
run: deno install
working-directory: local
- name: Lint local
run: deno lint
working-directory: local
- name: Test local
run: deno test
working-directory: local