Skip to content

Commit

Permalink
CI: Run pre-commit workflow in custom docker container
Browse files Browse the repository at this point in the history
  • Loading branch information
Holzhaus committed May 26, 2021
1 parent d1fea72 commit 7a93576
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,13 @@ jobs:
pre-commit:
name: Detecting code style issues
runs-on: ubuntu-latest
container: holzhaus/mixxx-ci:20210526
steps:
- name: "Check out repository"
uses: actions/checkout@v2
with:
fetch-depth: 2

- name: "Set up Python"
uses: actions/setup-python@v2

- name: Install clang-format
run: sudo apt-get update && sudo apt-get install -y --no-install-recommends clang-format-10

- name: "Detect code style issues (push)"
uses: pre-commit/action@v2.0.0
if: github.event_name == 'push'
Expand Down

0 comments on commit 7a93576

Please sign in to comment.