Skip to content

Bump github.com/alecthomas/chroma/v2 from 2.13.0 to 2.14.0 (#410) #1302

Bump github.com/alecthomas/chroma/v2 from 2.13.0 to 2.14.0 (#410)

Bump github.com/alecthomas/chroma/v2 from 2.13.0 to 2.14.0 (#410) #1302

Workflow file for this run

on: [push, pull_request]
name: Test
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: '^1.21.0'
- name: Checkout code
uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Test
run: go test -coverprofile=coverage.txt -covermode=atomic -race ./...
- uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
file: ./coverage.txt # optional
flags: unittests # optional
fail_ci_if_error: false # optional (default = false)