diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml deleted file mode 100644 index 57f67f4f..00000000 --- a/.github/workflows/build-and-test.yml +++ /dev/null @@ -1,57 +0,0 @@ -name: Build and test -on: - pull_request: - push: - branches: - - main -jobs: - build: - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [ubuntu-latest, windows-latest, macos-latest] - rust: [stable, nightly] - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - name: Cache cargo registry - uses: actions/cache@v4 - with: - path: ~/.cargo/registry - key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }} - - name: Cache cargo index - uses: actions/cache@v4 - with: - path: ~/.cargo/git - key: ${{ runner.os }}-cargo-git-${{ hashFiles('**/Cargo.lock') }} - - name: Cache cargo build - uses: actions/cache@v4 - with: - path: target - key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }} - - name: Set up Rust - uses: dtolnay/rust-toolchain@v1 - with: - toolchain: ${{ matrix.rust }} - - name: Install grcov - uses: taiki-e/install-action@v2 - with: - tool: grcov - - name: Add llvm-tools-preview - run: rustup component add llvm-tools-preview - - name: Build and test - run: | - cargo build --verbose - cargo test --verbose - env: - RUSTFLAGS: -Cinstrument-coverage - LLVM_PROFILE_FILE: "%p-%m.profraw" - - name: Generate lcov.info - run: | - grcov . --binary-path ./target/debug/ -s . -t lcov --branch --ignore-not-existing --ignore "/*" -o lcov.info - - name: Upload coverage reports to Codecov - uses: codecov/codecov-action@v4.0.1 - with: - token: ${{ secrets.CODECOV_TOKEN }} - file: lcov.info - fail_ci_if_error: true \ No newline at end of file diff --git a/.github/workflows/test-config-creation.yml b/.github/workflows/check_config_creation_if_not_exists.yml similarity index 89% rename from .github/workflows/test-config-creation.yml rename to .github/workflows/check_config_creation_if_not_exists.yml index 76c0fa30..4e050ce0 100644 --- a/.github/workflows/test-config-creation.yml +++ b/.github/workflows/check_config_creation_if_not_exists.yml @@ -1,4 +1,4 @@ -name: Test Configuration File Creation +name: Check config file creation if not exists on: pull_request: diff --git a/.github/workflows/devskim.yml b/.github/workflows/check_security_vulnerability.yml similarity index 95% rename from .github/workflows/devskim.yml rename to .github/workflows/check_security_vulnerability.yml index 86c19796..5fb8608b 100644 --- a/.github/workflows/devskim.yml +++ b/.github/workflows/check_security_vulnerability.yml @@ -3,7 +3,7 @@ # separate terms of service, privacy policy, and support # documentation. -name: DevSkim +name: Check Security Vulnerability on: pull_request: diff --git a/.github/workflows/check-semver.yml b/.github/workflows/check_semver.yml similarity index 100% rename from .github/workflows/check-semver.yml rename to .github/workflows/check_semver.yml diff --git a/.github/workflows/check-and-lint.yaml b/.github/workflows/ci.yml similarity index 100% rename from .github/workflows/check-and-lint.yaml rename to .github/workflows/ci.yml diff --git a/.github/workflows/release.yml b/.github/workflows/create_release_assets.yml similarity index 100% rename from .github/workflows/release.yml rename to .github/workflows/create_release_assets.yml diff --git a/.github/workflows/release-cross.yml b/.github/workflows/create_release_assets_cross.yml similarity index 100% rename from .github/workflows/release-cross.yml rename to .github/workflows/create_release_assets_cross.yml diff --git a/.github/workflows/update_aur.yml b/.github/workflows/release_to_aur.yml similarity index 100% rename from .github/workflows/update_aur.yml rename to .github/workflows/release_to_aur.yml diff --git a/.github/workflows/crates-publish.yml b/.github/workflows/release_to_crates_io.yml similarity index 100% rename from .github/workflows/crates-publish.yml rename to .github/workflows/release_to_crates_io.yml diff --git a/.github/workflows/update_homebrew.yml b/.github/workflows/release_to_homebrew.yml similarity index 100% rename from .github/workflows/update_homebrew.yml rename to .github/workflows/release_to_homebrew.yml diff --git a/.github/workflows/update_pypi.yml b/.github/workflows/release_to_pypi.yml similarity index 100% rename from .github/workflows/update_pypi.yml rename to .github/workflows/release_to_pypi.yml diff --git a/.github/workflows/update_winget.yml b/.github/workflows/release_to_winget.yml similarity index 100% rename from .github/workflows/update_winget.yml rename to .github/workflows/release_to_winget.yml