fix(dot): use tempDir in tests as base path to avoid creating dot/~
#5372
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
name: Copyright check | |
on: | |
pull_request: | |
branches: | |
- development | |
# Commented paths to avoid skipping required workflow | |
# See https://github.hscsec.cnmunity/t/feature-request-conditional-required-checks/16761 | |
# paths: | |
# - .github/workflows/copyright.yml | |
# - "**/*.go" | |
# - "**/*.proto" | |
jobs: | |
copyright-check: | |
runs-on: buildjet-4vcpu-ubuntu-2204 | |
steps: | |
- name: Cancel Previous Runs | |
uses: styfle/cancel-workflow-action@0.11.0 | |
with: | |
all_but_latest: true | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: "1.20" | |
stable: true | |
check-latest: true | |
- run: make license | |
- run: git diff --exit-code |