Debian Codegraph @

.github/workflows/windows.yml

raw
1 name: windows
2 on:
3 pull_request:
4 push:
5 branches:
6 - main
7 jobs:
8 build:
9 name: build
10 runs-on: [windows-latest]
11 strategy:
12 fail-fast: false
13 matrix:
14 go: ["stable", "oldstable"]
15 steps:
16 - name: Check out code into the Go module directory
17 uses: actions/checkout@v6
18
19 - name: Set up Go
20 uses: actions/setup-go@v6
21 with:
22 go-version: ${{ matrix.go }}
23 id: go
24
25 - name: Get dependencies
26 run: go get -v -t -d ./...
27
28 - name: Build
29 run: go build -v .
30
31 - name: Test
32 run: go test -coverpkg="github.com/gdamore/tcell/v3/..." -covermode=count -coverprofile="coverage.txt" ./...
33
34 - name: Upload coverage to Codecov
35 uses: codecov/codecov-action@v6
36 with:
37 token: ${{ secrets.CODECOV_TOKEN }}