-
Notifications
You must be signed in to change notification settings - Fork 3
45 lines (40 loc) · 1.21 KB
/
verify-debs.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
name: Verify
permissions:
contents: read
on:
pull_request:
push:
branches:
- main
concurrency:
group: >-
${{ github.event.inputs.head_ref || github.run_id }}
jobs:
verify:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
path: apt
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
repository: envoyproxy/envoy
depth: 1
path: envoy
sparse-checkout: |
VERSION.txt
sparse-checkout-cone-mode: false
- run: |
VERSION=$(cat VERSION.txt)
echo "version=${VERSION}" >> "$GITHUB_OUTPUT"
DEV_COMMIT_ID=$(git ls-remote https://github.com/envoyproxy/envoy refs/heads/main | cut -f1)
echo "commit=${DEV_COMMIT_ID}" >> "$GITHUB_OUTPUT"
id: envoy
working-directory: envoy
- run: |
echo "ENVOY: ${{ steps.envoy.outputs.commit }}"
bazel run --config=ci \
--action_env="DEV_COMMIT_ID=${{ steps.envoy.outputs.commit }}" \
--host_action_env="DEV_COMMIT_ID=${{ steps.envoy.outputs.commit }}" \
:verify_debs
working-directory: apt