Skip to content

build(deps): bump codecov/codecov-action from 5.3.1 to 5.4.0 #76

build(deps): bump codecov/codecov-action from 5.3.1 to 5.4.0

build(deps): bump codecov/codecov-action from 5.3.1 to 5.4.0 #76

Workflow file for this run

name: Documentation
on:
push:
branches: [main]
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
- name: Check documentation syntax
run: go doc . > /dev/null
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v6
with:
args: --timeout=5m -enable=godot
- name: Generate documentation
run: |
mkdir -p _site
go doc -all . > _site/index.html
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4