Skip to content

Fix mistakes on workflow file #2

Fix mistakes on workflow file

Fix mistakes on workflow file #2

Workflow file for this run

---
name: Lint
on: [push]
jobs:
lint-c:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- uses: docker/setup-buildx-action@v2
- name: check if tags are correct
run: |
make check-tags
- 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 lint for c
uses: addnab/docker-run-action@v3
with:
image: c-lint:latest
options: -v ${{ github.workspace }}:/code