File tree Expand file tree Collapse file tree 1 file changed +59
-0
lines changed Expand file tree Collapse file tree 1 file changed +59
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Deb Canary
2+
3+ on :
4+ # This workflow will run from the release-automation.yaml automation on each merge
5+ workflow_dispatch :
6+ inputs :
7+ ref_name :
8+ required : true
9+ type : string
10+ workflow_call :
11+ inputs :
12+ ref_name :
13+ required : true
14+ type : string
15+ pull_request :
16+ branches :
17+ - main
18+ paths :
19+ - ' **.go'
20+ - ' go.mod'
21+ - ' go.sum'
22+ - ' .github/workflows/e2e-macos.yaml'
23+ - ' .github/workflows/e2e-windows.yaml'
24+ - ' .github/workflows/e2e-linux.yaml'
25+ - ' contrib/packaging/**'
26+ - ' deps/**'
27+ - ' finch.yaml.d/**'
28+ - ' winres'
29+ - ' Makefile*'
30+ - ' .golangci.yaml'
31+ - ' !contrib/hello-finch/**'
32+ # This workflow will run every 5 min
33+ schedule :
34+ - cron : ' */5 * * * *'
35+
36+ jobs :
37+ canary-deb :
38+ # define all different arch's our supported CodeBuild fleets can run on
39+ runs-on : ubuntu-latest
40+ timeout-minutes : 3
41+ steps :
42+ - name : Clean ubuntu runner workspace
43+ run : |
44+ rm -rf ${{ github.workspace }}/*
45+ - name : Install Finch with APT
46+ run : |
47+ sudo apt install runfinch-finch -y
48+ - name : Verify version
49+ run : |
50+ version=$(finch -v)
51+ if [[ $version == "finch version ${{inputs.ref_name}}" ]]; then
52+ echo "Version matches: $version"
53+ else
54+ echo "Version mismatch. Found: $version, Expected: ${{inputs.ref_name}}"
55+ exit 1
56+ fi
57+ - name : Clean up environment
58+ run : |
59+ sudo apt remove runfinch-finch -y
You can’t perform that action at this time.
0 commit comments