private endpoint refactoring #582
This file contains hidden or 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: Ensure source code is properly formatted | |
on: | |
pull_request: {} | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
fmt: | |
runs-on: [dataplane, self-hosted, linux, x64, small] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: 'go.mod' | |
cache: true | |
- name: Run fmt | |
run: make fmt | |
- name: Check for changes | |
run: git diff --exit-code | |