-
Notifications
You must be signed in to change notification settings - Fork 7
39 lines (32 loc) · 953 Bytes
/
e2e.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
name: upstream
on:
pull_request:
branches: [master, main]
jobs:
canary-checker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
path: kommons
- uses: actions/checkout@v4
with:
repository: flanksource/canary-checker
path: canary-checker
branch: master
- uses: actions/setup-go@v4
with:
go-version: 1.22.x
- name: replace Module
run: |
cd canary-checker
module=$(cat go.mod | grep github.com/flanksource/kommons | awk '{print $2}')
go mod edit -replace github.com/flanksource/kommons@$module=$GITHUB_WORKSPACE/kommons
cat go.mod
go mod tidy
- name: Test Make Linux
working-directory: ./canary-checker
run: make linux
- name: Build
working-directory: ./canary-checker
run: make