Skip to content

Adjust release pipeline #22

Adjust release pipeline

Adjust release pipeline #22

Workflow file for this run

name: ci
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
ci:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.21
check-latest: true
cache: true
- name: Build
uses: goreleaser/goreleaser-action@v3
with:
version: latest
args: build --snapshot --single-target
- name: Test
run: go test -v -failfast ./...
mkdocs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.x"
- name: Install dependencies
run: pip install -r requirements.txt
- name: Build
run: mkdocs build