Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
EtienneM committed Feb 13, 2024
1 parent adec438 commit 98a9b7c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,17 @@ jobs:
check-latest: true
- name: Get golangci-lint configuration file
run: wget --output-document=/tmp/golangci.yml https://sc-devtools.s3.eu-west-1.amazonaws.com/golang-ci/golangci.yml
- name: Test pwd
run: pwd
- name: echo action_path
run: echo ${{ github.action_path }}
- uses: golangci/golangci-lint-action@v4
with:
# This flag is not working (https://github.com/golangci/golangci-lint-action/issues/531).
# We rather decided to use the suggestion from the FAQ (https://golangci-lint.run/usage/faq/#how-to-integrate-golangci-lint-into-large-project-with-thousands-of-issues) and use `--new` and `--new-from-rev`
# only-new-issues: false
args: "--config=/tmp/golangci.yml --new --new-from-rev=HEAD~1"
# args: "--config=/tmp/golangci.yml"
args: "--config=/tmp/golangci.yml --new --new-from-rev=HEAD"

tests:
name: Unit Tests
Expand Down
2 changes: 1 addition & 1 deletion cmd/domains.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ var (
if key == "domain.key" {
key = ""
}
err = domains.Add(c.Context, currentApp, c.Args().First(), cert, key)
domains.Add(c.Context, currentApp, c.Args().First(), cert, key)
} else {
cli.ShowCommandHelp(c, "domains-add")
}
Expand Down

0 comments on commit 98a9b7c

Please sign in to comment.