Skip to content

Commit

Permalink
ci-pipeline: add install task to the setup
Browse files Browse the repository at this point in the history
  • Loading branch information
MKAbdElrahman committed Sep 4, 2024
1 parent 784aef9 commit c201943
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,18 @@ jobs:
with:
go-version: stable
cache: false
- uses: arduino/setup-task@v2
- name: Install Task CLI
run: |
sudo sh -c "curl -s https://taskfile.dev/install.sh | sh"
sudo mv ./bin/task /usr/local/bin/task
lint:
name: Lint Application
runs-on: ubuntu-latest
needs: setup
steps:
- run: task instal-golangci-lint
- name: Install GolangCI-Lint
run: task instal-golangci-lint
- name: Run Lint
run: task lint

Expand Down

0 comments on commit c201943

Please sign in to comment.