Skip to content

Commit

Permalink
Merge pull request #150 from vrothberg/workflows
Browse files Browse the repository at this point in the history
update GH workflows
  • Loading branch information
vrothberg authored Mar 4, 2024
2 parents 7589519 + 2b6b3e4 commit fcadfdb
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,24 @@ on:
jobs:

lint:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: golangci/golangci-lint-action@v3
with:
version: v1.48.0

# Only show new issues for a pull request.
only-new-issues: true
- uses: actions/checkout@v4
with:
fetch-depth: 2
- uses: actions/setup-go@v5
- name: lint
uses: golangci/golangci-lint-action@v4
with:
version: "${{ env.LINT_VERSION }}"
args: --verbose

codespell:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: install deps
# Version of codespell bundled with Ubuntu is way old, so use pip.
run: pip install codespell
- name: run codespell
run: codespell -S go.sum

run: codespell --dictionary=-

0 comments on commit fcadfdb

Please sign in to comment.