Web Feature Enrichment: Remote Client Management, Pending Commands Display, UI Themes, and Bug Fixes #3538
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
# Check that only correctly formatted golang code is merged | |
name: Check Format | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
format: | |
runs-on: ubuntu-latest | |
steps: | |
- name: CPU Info | |
run: | | |
cat /proc/cpuinfo | |
echo "Number of cores: $(nproc)" | |
echo "Number of threads: $(nproc --all)" | |
- uses: actions/checkout@v3 | |
with: | |
# fetch branches and history so `git merge-base` in check-format-on-diff works correctly | |
fetch-depth: 0 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: "^1.18" # The Go version to download (if necessary) and use. | |
check-latest: true | |
- name: Check formatting | |
shell: bash | |
run: tools/format/check-format-on-diff.sh --simplify --branch origin/${{ github.base_ref }} |