Skip to content

Commit

Permalink
Merge pull request #4778 from werf/ci-fix-repository-dispatch
Browse files Browse the repository at this point in the history
ci: fix lint job
  • Loading branch information
ilya-lesikov committed Aug 16, 2022
2 parents 8535c1a + 990e841 commit c5f06af
Showing 1 changed file with 25 additions and 24 deletions.
49 changes: 25 additions & 24 deletions .github/workflows/_lint.yml
Expand Up @@ -10,27 +10,28 @@ defaults:
env:
DEBIAN_FRONTEND: "noninteractive"

lint:
name: Lint
runs-on: ubuntu-22.04
steps:
- name: Install build dependencies
run: sudo apt-get install -y libbtrfs-dev

- name: Checkout code
uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v3
with:
cache: true
go-version-file: go.mod

- name: Install Task
uses: arduino/setup-task@v1

- name: Install golangci-lint
run: task -p deps:install:golangci-lint

- name: Lint
run: task -o group -p lint
jobs:
_:
runs-on: ubuntu-22.04
timeout-minutes: 30
steps:
- name: Install build dependencies
run: sudo apt-get install -y libbtrfs-dev

- name: Checkout code
uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v3
with:
cache: true
go-version-file: go.mod

- name: Install Task
uses: arduino/setup-task@v1

- name: Install golangci-lint
run: task -p deps:install:golangci-lint

- name: Lint
run: task -o group -p lint

0 comments on commit c5f06af

Please sign in to comment.