Skip to content

feat(resourcegroup): add tag feature for networkwatcherrg #855

feat(resourcegroup): add tag feature for networkwatcherrg

feat(resourcegroup): add tag feature for networkwatcherrg #855

Workflow file for this run

---
name: Docs & fmt test
on:
pull_request:
types: ['opened', 'reopened', 'synchronize']
merge_group:
workflow_dispatch:
concurrency:
group: docsfmttest-${{ github.event.pull_request.head.repo.full_name }}/${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
docsfmttest:
name: Docs & fmt test
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup go
uses: actions/setup-go@v5
with:
go-version: '1.20.x'
cache-dependency-path: tests/go.sum
- name: Install tools
run: make tools
- name: Check fmt and docs
run: |
echo "==> Running make fmt & make docs"
make fmt
make docs
echo "==> Testing for changes to tracked files"
CHANGES=$(git status -suno)
if [ "$CHANGES" ]; then
echo "Repository formatting or documentation is not correct."
echo "Run 'make fmt && make docs' locally and commit the changes to fix."
exit 1
fi