From 9965f66aeb3482e8a1855759437fa68eb732c6b7 Mon Sep 17 00:00:00 2001 From: Thumbscrew Date: Mon, 9 Sep 2024 20:29:51 +0100 Subject: [PATCH] test against multiple versions of Go update dependabot to include GH actions --- .github/dependabot.yml | 4 ++++ .github/workflows/go.yml | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index cd88554..6bb7abd 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -9,3 +9,7 @@ updates: directory: "/" # Location of package manifests schedule: interval: "weekly" + - package-ecosystem: "github-actions" # See documentation for possible values + directory: "/" # Location of package manifests + schedule: + interval: "weekly" diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 12f9ac3..d1c5d7a 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -13,13 +13,16 @@ jobs: build: runs-on: ubuntu-latest + strategy: + matrix: + go-version: ["1.21", "1.22", "1.23"] steps: - uses: actions/checkout@v4 - name: Set up Go uses: actions/setup-go@v4 with: - go-version: '1.21' + go-version: ${{ matrix.go-version }} - name: Build run: go build -v ./...