-
Notifications
You must be signed in to change notification settings - Fork 16
46 lines (44 loc) · 1021 Bytes
/
main.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
name: CI
on:
workflow_dispatch:
pull_request:
push:
branches:
- master
jobs:
project:
name: Project Checks
runs-on: ubuntu-22.04
timeout-minutes: 20
steps:
- uses: actions/setup-go@v5
with:
go-version: 1.21.x
- uses: actions/checkout@v4
with:
path: src/github.com/containerd/fuse-overlayfs-snapshotter
fetch-depth: 25
- uses: containerd/[email protected]
with:
working-directory: src/github.com/containerd/fuse-overlayfs-snapshotter
test:
runs-on: ubuntu-22.04
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
fuse-overlayfs: [v1.0.0, v1.13, main]
env:
FUSEOVERLAYFS_COMMIT: "${{ matrix.fuse-overlayfs }}"
steps:
- uses: actions/checkout@v4
- run: make test
cross:
runs-on: ubuntu-22.04
timeout-minutes: 30
steps:
- uses: actions/setup-go@v5
with:
go-version: 1.21.x
- uses: actions/checkout@v4
- run: make artifacts