Skip to content

chore: include community badge and remove slack references (#489) #1321

chore: include community badge and remove slack references (#489)

chore: include community badge and remove slack references (#489) #1321

Workflow file for this run

name: 'ci'
on:
push:
branches:
- main
pull_request:
jobs:
test:
name: docs
runs-on: ubuntu-latest
strategy:
matrix:
go: [ '1.19' ]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Restore Cache
uses: actions/cache@v4
id: cache
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- run: mkdir -p ~/.config/equinix
- run: touch ~/.config/equinix/metal.yaml
- name: Build docs
run: make generate-docs
env:
METAL_AUTH_TOKEN: bogus
- name: Detect Uncommitted Docs
run: git diff --exit-code docs