From 0512945fb82afce4028165f4a986e0f1575cf0f7 Mon Sep 17 00:00:00 2001 From: Ben Cooper Date: Thu, 14 Sep 2023 14:23:17 -0700 Subject: [PATCH] Set go version to whatever is in go.mod --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 833e0a4..6d1d15b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,7 +20,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v4 with: - go-version: '1.20' + go-version-file: 'go.mod' - name: Build for ${{ matrix.os }}-{{ matrix.arch }} run: go build -tags osusergo,netgo -o ultra-dumb-200-server-${{ matrix.os }}-${{ matrix.arch }} -v .