From 39c336f823db551fcc8f73657790de6bc536871b Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Wed, 10 Jul 2024 10:37:00 -0300 Subject: [PATCH] ci: improve coverage workflow --- .github/workflows/coverage.yml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index d197e45..f82e3d0 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -3,21 +3,17 @@ on: [push, pull_request] jobs: coverage: - strategy: - matrix: - go-version: [^1] - os: [ubuntu-latest] - runs-on: ${{ matrix.os }} + runs-on: ubuntu-latest env: GO111MODULE: "on" steps: + - name: Checkout code + uses: actions/checkout@v4 + - name: Install Go uses: actions/setup-go@v5 with: - go-version: ${{ matrix.go-version }} - - - name: Checkout code - uses: actions/checkout@v4 + go-version: stable - name: Coverage env: