Skip to content

Commit

Permalink
Unset all actual SEMAPHORE variables before tests
Browse files Browse the repository at this point in the history
  • Loading branch information
DamjanBecirovic committed Jun 17, 2022
1 parent f68771d commit 8acea83
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .semaphore/semaphore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,12 @@ blocks:
- git config --global user.name "Your Name"
- unset SEMAPHORE_GIT_REF_TYPE
- unset SEMAPHORE_GIT_BRANCH
- unset SEMAPHORE_GIT_PR_BRANCH
- unset SEMAPHORE_GIT_PR_SLUG
- unset SEMAPHORE_GIT_REPO_SLUG
- unset SEMAPHORE_GIT_COMMIT_RANGE
- unset SEMAPHORE_GIT_SHA
- unset SEMAPHORE_MERGE_BASE
- unset SEMAPHORE_MERGE_BASE

jobs:
- name: go test
Expand Down
2 changes: 1 addition & 1 deletion lint.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ warningCode = 1
[rule.call-to-gc]

[rule.cognitive-complexity]
arguments = [7]
arguments = [8]

[rule.constant-logical-expr]
[rule.context-as-argument]
Expand Down

0 comments on commit 8acea83

Please sign in to comment.