fix: support verbatim code-block with syntax specified (#18) #39
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and tests | |
on: | |
# run tests on push to master, but not when other branches are pushed to | |
push: | |
branches: | |
- master | |
# run tests for all pull requests | |
pull_request: | |
jobs: | |
build: | |
strategy: | |
matrix: | |
include: | |
- go: 1.21.x | |
- go: 1.15.x | |
name: Build Go ${{ matrix.go }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go ${{ matrix.go }} | |
uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ matrix.go }} | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Build | |
run: | | |
go build | |
- name: Run Tests | |
run: | | |
go test ./... |