Skip to content

ci: bump action versions, use go.mod version #16

ci: bump action versions, use go.mod version

ci: bump action versions, use go.mod version #16

Workflow file for this run

name: build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: go.mod
- name: Build
run: go build -o mdtoc ./cmd/mdtoc/main.go
- name: Test
run: go test -v ./...