File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ github : [kkrypt0nn]
2+ custom : ["https://buymeacoffee.com/kkrypt0nn"]
Original file line number Diff line number Diff line change 1+ name : Spaceflake CI (Lint & Test)
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ pull_request :
8+ workflow_dispatch :
9+
10+ jobs :
11+ lint-test :
12+ name : Lint & Test
13+ runs-on : ubuntu-latest
14+ steps :
15+ - name : Checkout source code
16+ uses : actions/checkout@v4
17+ - name : Set up Go
18+ uses : actions/setup-go@v5
19+ with :
20+ go-version : 1.24
21+ - name : Lint
22+ uses : golangci/golangci-lint-action@v7
23+ with :
24+ version : latest
25+ - name : Test
26+ run : go test -v ./...
27+ build :
28+ name : Build for ${{ matrix.target.goos }}/${{ matrix.target.goarch }}
29+ runs-on : ubuntu-latest
30+ needs : [lint-test]
31+ strategy :
32+ matrix :
33+ target :
34+ - { goos: linux, goarch: amd64 }
35+ - { goos: linux, goarch: arm64 }
36+ - { goos: darwin, goarch: amd64 }
37+ - { goos: darwin, goarch: arm64 }
38+ - { goos: windows, goarch: amd64 }
39+ - { goos: windows, goarch: arm64 }
40+ - { goos: android, goarch: arm64 }
41+ steps :
42+ - name : Checkout source code
43+ uses : actions/checkout@v4
44+ - name : Set up Go
45+ uses : actions/setup-go@v5
46+ with :
47+ go-version : 1.24
48+ - name : Build
49+ run : GOOS=${{ matrix.target.goos }} GOARCH=${{ matrix.target.goarch }} go build -v ./...
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11module github.com/kkrypt0nn/spaceflake
22
3- go 1.19
3+ go 1.24
You can’t perform that action at this time.
0 commit comments