Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 2 additions & 19 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ on:
jobs:
fmt:
name: rustfmt
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
Expand All @@ -18,25 +17,8 @@ jobs:
components: rustfmt
- run: cargo fmt --all -- --check

clippy:
name: clippy
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: docker/setup-buildx-action@v4
- uses: docker/build-push-action@v7
with:
context: .
target: tester
load: true
tags: docoxide-tester:ci
cache-from: type=gha
cache-to: type=gha,mode=max
- run: docker run --rm docoxide-tester:ci cargo clippy --all-targets -- -D warnings

test:
name: integration tests
name: tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
Expand All @@ -49,4 +31,5 @@ jobs:
tags: docoxide-tester:ci
cache-from: type=gha
cache-to: type=gha,mode=max
- run: docker run --rm docoxide-tester:ci cargo clippy --all-targets -- -D warnings
- run: docker run --rm --cap-add=SYS_NICE docoxide-tester:ci