diff options
author | Jakob Borg <jakob@kastelo.net> | 2023-05-03 10:25:36 +0200 |
---|---|---|
committer | Jakob Borg <jakob@kastelo.net> | 2023-05-09 10:01:57 +0000 |
commit | 1103a27337ba97ba17e7ec77bd002fb4061c5d24 (patch) | |
tree | bd2b1d47023e90b9cc64bc784928d2de336dbd11 /.github | |
parent | ddce692f72af19606b4a714fb6981457368a5727 (diff) | |
download | syncthing-1103a27337ba97ba17e7ec77bd002fb4061c5d24.tar.gz syncthing-1103a27337ba97ba17e7ec77bd002fb4061c5d24.zip |
all: Grand test refactor (fixes #8779, fixes #8799)
This fixes various test issues with Go 1.20.
- Most tests rewritten to use fakefs where possible
- Some tests that were already skipped, or dubious (invasive,
unmaintainable, unclear what they even tested) have been removed
- Some actual code rewritten to better support testing in fakefs
Co-authored-by: Eric P <eric@kastelo.net>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build-syncthing.yaml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/build-syncthing.yaml b/.github/workflows/build-syncthing.yaml index 966e23cd5..7b8cc91bb 100644 --- a/.github/workflows/build-syncthing.yaml +++ b/.github/workflows/build-syncthing.yaml @@ -6,7 +6,7 @@ on: env: # The go version to use for builds. - GO_VERSION: "1.19.6" + GO_VERSION: "^1.20.3" # Optimize compatibility on the slow archictures. GO386: softfloat @@ -42,7 +42,7 @@ jobs: runner: ["windows-latest", "ubuntu-latest", "macos-latest"] # 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. - go: ["1.19"] # Skip Go 1.20 for now, https://github.com/syncthing/syncthing/issues/8799 + go: ["1.19", "1.20"] runs-on: ${{ matrix.runner }} steps: - name: Set git to use LF |