Skip to content

Fix TestProvisioningFactoryReset when running with libfaketime #5186

Fix TestProvisioningFactoryReset when running with libfaketime

Fix TestProvisioningFactoryReset when running with libfaketime #5186

Workflow file for this run

# 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@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 }}