feat: Added support for Metal Interconnections #483
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/[email protected] | |
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 |