...

Text file src/github.com/alecthomas/chroma/v2/.github/workflows/ci.yml

Documentation: github.com/alecthomas/chroma/v2/.github/workflows

     1on:
     2  push:
     3    branches:
     4      - master
     5  pull_request:
     6name: CI
     7jobs:
     8  test:
     9    name: Test
    10    runs-on: ubuntu-latest
    11    steps:
    12      - name: Checkout code
    13        uses: actions/checkout@v2
    14      - name: Init Hermit
    15        run: ./bin/hermit env -r >> $GITHUB_ENV
    16      - name: Test
    17        run: go test ./...
    18  lint:
    19    name: Lint
    20    runs-on: ubuntu-latest
    21    steps:
    22      - name: Checkout code
    23        uses: actions/checkout@v2
    24      - name: Init Hermit
    25        run: ./bin/hermit env -r >> $GITHUB_ENV
    26      - name: golangci-lint
    27        run: golangci-lint run

View as plain text