mirror of
https://github.com/charmbracelet/glow
synced 2024-11-10 06:04:18 +00:00
ci: improve coverage workflow
This commit is contained in:
parent
e4cacf7319
commit
39c336f823
1 changed files with 5 additions and 9 deletions
14
.github/workflows/coverage.yml
vendored
14
.github/workflows/coverage.yml
vendored
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue