forked from hanwen/go-fuse
-
Notifications
You must be signed in to change notification settings - Fork 10
37 lines (34 loc) · 840 Bytes
/
ci.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
name: CI
on:
push:
pull_request:
schedule:
- cron: '0 12 * * *' # Every day noon UTC
jobs:
test:
strategy:
matrix:
go:
- "1.15.x"
- "1.16.x"
- "1.17.x"
- "1.18.x"
- "1.19.x"
fail-fast: false
runs-on: ubuntu-latest
steps:
- name: Install Go ${{ matrix.go }}
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
# CI platform specific setup steps happen here
- name: Install os dependencies
run: sudo apt-get install -qq fuse3 libssl-dev libfuse-dev
- uses: actions/checkout@v2
with:
fetch-depth: 0 # Make "git describe" work
- name: Build
run: go build ./...
# Actual test steps are in all.bash
- name: Test
run: go test -timeout 5m -p 1 -count 1 -v ./...