mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-17 10:35:11 +00:00
This commit is contained in:
parent
9666e9701b
commit
07ad2db503
18
.github/workflows/build-syncthing.yaml
vendored
18
.github/workflows/build-syncthing.yaml
vendored
@ -49,6 +49,19 @@ jobs:
|
|||||||
# The oldest version in this list should match what we have in our go.mod.
|
# The oldest version in this list should match what we have in our go.mod.
|
||||||
# Variables don't seem to be supported here, or we could have done something nice.
|
# Variables don't seem to be supported here, or we could have done something nice.
|
||||||
go: ["1.20", "1.21"]
|
go: ["1.20", "1.21"]
|
||||||
|
|
||||||
|
# Don't run the Windows tests with Go 1.21.4 or 1.20.11; this can be
|
||||||
|
# removed when 1.21.5 and 1.20.12 is released.
|
||||||
|
exclude:
|
||||||
|
- runner: windows-latest
|
||||||
|
go: "1.20"
|
||||||
|
- runner: windows-latest
|
||||||
|
go: "1.21"
|
||||||
|
include:
|
||||||
|
- runner: windows-latest
|
||||||
|
go: "~1.20.12 || ~1.20.0 <1.20.11"
|
||||||
|
- runner: windows-latest
|
||||||
|
go: "~1.21.5 || ~1.21.1 <1.21.4"
|
||||||
runs-on: ${{ matrix.runner }}
|
runs-on: ${{ matrix.runner }}
|
||||||
steps:
|
steps:
|
||||||
- name: Set git to use LF
|
- name: Set git to use LF
|
||||||
@ -79,6 +92,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: |
|
run: |
|
||||||
|
go version
|
||||||
go run build.go test | go-test-json-to-loki
|
go run build.go test | go-test-json-to-loki
|
||||||
env:
|
env:
|
||||||
GOFLAGS: "-json"
|
GOFLAGS: "-json"
|
||||||
@ -155,7 +169,9 @@ jobs:
|
|||||||
|
|
||||||
- uses: actions/setup-go@v4
|
- uses: actions/setup-go@v4
|
||||||
with:
|
with:
|
||||||
go-version: ${{ env.GO_VERSION }}
|
# Temporary version constraint to avoid 1.21.4 which has a bug in
|
||||||
|
# path handling. This can be removed when 1.21.5 is released.
|
||||||
|
go-version: "~1.21.5 || ~1.21.1 <1.21.4"
|
||||||
cache: false
|
cache: false
|
||||||
check-latest: true
|
check-latest: true
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user