Implement Certificate Revocation List (1) #5240
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-24.04 | |
steps: | |
- name: CPU Info | |
run: | | |
cat /proc/cpuinfo | |
echo "Number of cores: $(nproc)" | |
echo "Number of threads: $(nproc --all)" | |
- uses: actions/checkout@v4 | |
with: | |
# fetch branches and history so `git merge-base` in check-format-on-diff works correctly | |
fetch-depth: 0 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: "^1.22" # 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 }} |