From 9836bb1c60be504733cd813ba44001401b913900 Mon Sep 17 00:00:00 2001 From: Radostin Stoyanov Date: Sun, 3 Sep 2023 13:15:25 +0100 Subject: [PATCH] ci: enable codespell Signed-off-by: Radostin Stoyanov --- .github/workflows/verify.yml | 16 ++++++++++------ memparse.go | 2 +- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index 7fd0112f..1d697a35 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -6,12 +6,16 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - name: golangci-lint - uses: golangci/golangci-lint-action@v3 - with: - version: latest - only-new-issues: true + - uses: actions/checkout@v3 + - name: golangci-lint + uses: golangci/golangci-lint-action@v3 + with: + version: latest + only-new-issues: true + - name: codespell + uses: codespell-project/actions-codespell@v2 + with: + skip: vendor gomod: runs-on: ubuntu-latest diff --git a/memparse.go b/memparse.go index 2fce6e09..a23806e7 100644 --- a/memparse.go +++ b/memparse.go @@ -131,7 +131,7 @@ func printProcessMemoryPages(task task) error { var compact bool if outputFilePath != "" { - // Write to ouput to file if --output is specified + // Write output to file if --output is specified f, err := os.Create(outputFilePath) if err != nil { return err