[Cargo]: Bump git2 from 0.20.3 to 0.20.4 #210
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: coverage | |
| on: [push] | |
| jobs: | |
| test: | |
| name: coverage | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: Create k8s Kind Cluster | |
| uses: helm/kind-action@v1 | |
| - name: Create secret | |
| run: | | |
| ssh-keygen -t rsa -b 4096 -f /tmp/id_rsa <<< y | |
| kubectl create ns gitops-operator | |
| kubectl create secret generic ssh-key -n gitops-operator --from-file=ssh-privatekey=/tmp/id_rsa | |
| kubectl create ns myns | |
| kubectl create secret generic ssh-key -n myns --from-file=ssh-privatekey=/tmp/id_rsa | |
| - name: Install Rust | |
| uses: actions-rs/toolchain@v1 | |
| with: | |
| toolchain: stable | |
| target: x86_64-unknown-linux-gnu | |
| override: true | |
| - uses: Swatinem/rust-cache@v2 | |
| - name: Generate code coverage | |
| run: | | |
| cargo install cargo-tarpaulin | |
| cargo tarpaulin --verbose --all-features --workspace --timeout 120 --out xml | |
| - name: Upload coverage reports to Codecov | |
| uses: codecov/codecov-action@v5 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| slug: kainlite/gitops-operator |