-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (28 loc) · 716 Bytes
/
ci.yaml
File metadata and controls
37 lines (28 loc) · 716 Bytes
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
name: ci
on:
push:
branches:
- main
pull_request:
types:
- opened
- synchronize
- reopened
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
matrix:
varnish_version:
- "7.5"
- "7.6"
- "7.7"
- "8.0"
concurrency:
group: ${{ github.ref_name != 'main' && format('{0}-{1}-{2}', github.workflow, github.ref, matrix.varnish_version) || github.sha }}
cancel-in-progress: ${{ github.ref_name != 'main' }}
steps:
- uses: actions/checkout@v4
- run: docker compose build --build-arg "VARNISH_VERSION=${{ matrix.varnish_version }}"
- run: docker compose run test