diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 7377d37..0000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,8 +0,0 @@ -version: 2 -updates: -- package-ecosystem: cargo - directory: "/" - schedule: - interval: daily - time: "08:00" - open-pull-requests-limit: 10 diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..7022a4e --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,34 @@ +name: CI +on: + pull_request: + +defaults: + run: + shell: bash + +jobs: + test: + name: Test + runs-on: ${{ matrix.os }} + strategy: + matrix: + include: + - os: ubuntu-latest + - os: macos-latest + - os: windows-latest + steps: + - uses: actions/checkout@v4 + with: + submodules: true + - run: cargo test + + msrv: + name: MSRV + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + submodules: true + - run: rustup update 1.60.0 && rustup default 1.60.0 + - run: cargo test + diff --git a/Cargo.toml b/Cargo.toml index 3713128..0021187 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,3 +9,8 @@ description = """ Tool for helping to find SSL certificate locations on the system for OpenSSL """ readme = "README.md" +edition = '2021' + +# This was arbitrarily chosen on 2025-01-23 as "pretty old" as previously +# key didn't exist in `Cargo.toml` prior to that. +rust-version = '1.60.0'