ci.yaml - afero - [fork] go afero port for 9front
(HTM) git clone https://git.drkhsh.at/afero.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
ci.yaml (1280B)
---
1 name: CI
2
3 on:
4 push:
5 branches: [master]
6 pull_request:
7
8 jobs:
9 test:
10 name: Test
11 runs-on: ${{ matrix.os }}
12
13 strategy:
14 fail-fast: false
15 matrix:
16 os: [ubuntu-latest, macos-latest, windows-latest]
17 go: ["1.23", "1.24"]
18
19 steps:
20 - name: Checkout repository
21 uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
22
23 - name: Set up Go
24 uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
25 with:
26 go-version: ${{ matrix.go }}
27
28 - name: Test
29 run: go test -race -v ./...
30
31 - name: Test gcsfs
32 run: go test -race -v ./...
33 working-directory: ./gcsfs
34
35 - name: Test sftpfs
36 run: go test -race -v ./...
37 working-directory: ./sftpfs
38
39 lint:
40 name: Lint
41 runs-on: ubuntu-latest
42
43 steps:
44 - name: Checkout repository
45 uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
46
47 - name: Set up Go
48 uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
49 with:
50 go-version: "1.24"
51
52 - name: Lint
53 uses: golangci/golangci-lint-action@4696ba8babb6127d732c3c6dde519db15edab9ea # v6.5.1
54 with:
55 version: v1.64.7