Skip to content

docs: update gotd docs to the latest version #296

docs: update gotd docs to the latest version

docs: update gotd docs to the latest version #296

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v7.0.0
- name: Install Go
uses: actions/setup-go@v6
with:
go-version-file: go.mod
cache: false
- name: Get Go environment
id: go-env
run: |
echo "::set-output name=cache::$(go env GOCACHE)"
echo "::set-output name=modcache::$(go env GOMODCACHE)"
- name: Set up cache
uses: actions/cache@v6
with:
path: |
${{ steps.go-env.outputs.cache }}
${{ steps.go-env.outputs.modcache }}
key: update-docs-${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
update-docs-${{ runner.os }}-go-
- name: Build
run: go build