Skip to content

Updated metal-go client for capacity sub-commands #458

Updated metal-go client for capacity sub-commands

Updated metal-go client for capacity sub-commands #458

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@v3
with:
fetch-depth: 1
- name: Restore Cache
uses: actions/cache@v3
id: cache
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- uses: actions/setup-go@v4.0.0
with:
go-version: ${{ matrix.go }}
- 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