From 8d5629dd240d04c2f5d300bafbb92a71615408b3 Mon Sep 17 00:00:00 2001 From: Florent Viel Date: Tue, 7 Nov 2023 16:03:03 +0100 Subject: [PATCH] update CI --- .github/workflows/go.yml | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 34bbddf..8a3f0cd 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -3,25 +3,19 @@ on: [push] jobs: build: - name: Build runs-on: ubuntu-latest strategy: matrix: - go: [ '1.13', '1.14' ] + go-version: [ '1.20', '1.21' ] steps: - - name: Set up Go ${{ matrix.go }} - uses: actions/setup-go@v1 - with: - go-version: ${{ matrix.go }} - id: go - - name: Check out code into the Go module directory - uses: actions/checkout@v2 + uses: actions/checkout@v4 - - name: Get dependencies - run: | - go get -v -t -d ./... + - name: Set up Go ${{ matrix.go-version }} + uses: actions/setup-go@v4 + with: + go-version: ${{ matrix.go-version }} - name: Test run: go test -v .