From bc7dc1bc5022c2ebdeb9c7c28550167b263803be Mon Sep 17 00:00:00 2001 From: Sebastian Bugge Date: Mon, 13 May 2024 12:28:47 +0200 Subject: [PATCH] Make workflow version match minimum supported go version. --- .github/workflows/go.yml | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 101b2b6..12ba2cb 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -2,24 +2,23 @@ name: Go on: push: - branches: [ "master" ] + branches: ["master"] pull_request: - branches: [ "master" ] + branches: ["master"] jobs: - build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v4 - - name: Set up Go - uses: actions/setup-go@v5 - with: - go-version: '1.22' + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version: "1.17" - - name: Build - run: go build -v ./... + - name: Build + run: go build -v ./... - - name: Test - run: go test -v ./... + - name: Test + run: go test -v ./...