[Cargo]: Bump anyhow from 1.0.100 to 1.0.101 in the core group #111
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: tests | |
| on: | |
| workflow_call: | |
| pull_request: | |
| push: | |
| branches: | |
| - master | |
| tags: | |
| - '*' | |
| jobs: | |
| docker: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| packages: write | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| platform: | |
| - linux/amd64 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - 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: 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: run tests | |
| run: cargo test |