Skip to content

Commit

Permalink
Start using docker actions to run docker
Browse files Browse the repository at this point in the history
  • Loading branch information
deniscostadsc committed Jul 11, 2024
1 parent 27501f2 commit bec63b0
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,18 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run lint
run: |
make lint
- uses: docker/setup-buildx-action@v2
- uses: docker/build-push-action@v4
with:
context: .
file: ".docker/lint/c-lint.Dockerfile"
tags: c-lint:latest
load: true
cache-from: type=gha
cache-to: type=gha,mode=max
push: false
- name: Run C lint
uses: addnab/docker-run-action@v3
with:
image: c-lint:latest
options: -v $(pwd):/code -e LINT_FIX=1

0 comments on commit bec63b0

Please sign in to comment.