Skip to content

feat: First draft implementation #19

feat: First draft implementation

feat: First draft implementation #19

Workflow file for this run

name: Continuous integration
on: pull_request
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- stable
- beta
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
name: Setup toolchain
with:
toolchain: ${{ matrix.rust }}
components: rustfmt, clippy
- name: Build
run: cargo build
- name: Test
env:
CI: true
run: cargo test
- name: Fmt
run: cargo fmt --all -- --check
- name: Clippy
run: cargo clippy -- -D warnings
docker-test:
runs-on: ubuntu-latest
needs: ci
strategy:
matrix:
binary:
- git-events-runner
- gitrepo-cloner
steps:
- uses: actions/checkout@v4
- name: Test image build
run: docker build -f docker-build/${{matrix.binary}}.dockerfile .