diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 030b891..96a165f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,22 +17,25 @@ on: env: # Currently no way to detect automatically DEFAULT_BRANCH: main - GO_VERSION: 1.20.5 # renovate: datasource=golang-version depName=golang + GO_VERSION: 1.20.6 # renovate: datasource=golang-version depName=golang NODE_VERSION: 18 DRY_RUN: true jobs: build: runs-on: ubuntu-latest + strategy: + matrix: + go-version: [ '1.20.x', '1.21.x' ] steps: # full checkout for semantic-release - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 with: fetch-depth: 0 - - name: Set up go ${{env.GO_VERSION}} + - name: Set up go ${{ matrix.go-version }} uses: actions/setup-go@v4 with: - go-version: ${{env.GO_VERSION}} + go-version: ${{ matrix.go-version }} - name: Tests run: |