Skip to content

Commit

Permalink
Revert "Retire golangci-lint-action since it's buggy"
Browse files Browse the repository at this point in the history
This reverts commit 90e39d7.
  • Loading branch information
jurisevo committed Feb 26, 2024
1 parent 90e39d7 commit fff6d33
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,23 @@ permissions:
contents: write

jobs:
lint:
name: Static code analysis
runs-on: ubuntu-latest
steps:
- name: Checkout source tree
uses: actions/checkout@v4

- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'

- name: golangci-lint
uses: golangci/golangci-lint-action@v4
with:
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
version: latest

build:
name: Build and test
strategy:
Expand Down Expand Up @@ -88,11 +105,6 @@ jobs:
bash -x ./build.sh clean
bash -x ./build.sh test
- name: Lint
run: |
export PATH="$FFMPEG_DEST_DIR":$PATH
bash -x ./build.sh lint
- name: Build
id: build
run: |
Expand Down

0 comments on commit fff6d33

Please sign in to comment.