fix(deps): update all non-major dependencies #541
This file contains 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: Integration Tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
test: | |
name: Integration Tests | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: true | |
matrix: | |
name: | |
- MSRV | |
- Nightly | |
- Stable | |
- Beta | |
- MacOS | |
- Windows | |
include: | |
- name: MSRV | |
toolchain: 1.61 | |
os: ubuntu-latest | |
- name: Nightly | |
toolchain: stable | |
os: ubuntu-latest | |
- name: Stable | |
toolchain: stable | |
os: ubuntu-latest | |
- name: Beta | |
toolchain: beta | |
os: ubuntu-latest | |
- name: MacOS | |
toolchain: stable | |
os: macOS-latest | |
- name: Windows | |
toolchain: stable | |
os: windows-latest | |
steps: | |
- name: Checkout the Repository | |
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3 | |
- name: Install Rust | |
uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # tag=v1 | |
with: | |
profile: minimal | |
toolchain: ${{ matrix.toolchain }} | |
override: true | |
- name: Cache dependencies | |
uses: Swatinem/rust-cache@359a70e43a0bb8a13953b04a90f76428b4959bb6 # v2 | |
- name: Install Nextest | |
uses: taiki-e/install-action@nextest | |
- name: Install Scoop [Windows] | |
if: matrix.os == 'windows-latest' | |
shell: pwsh | |
run: | | |
iwr get.scoop.sh -outfile 'install.ps1' | |
.\install.ps1 -RunAsAdmin | |
Join-Path (Resolve-Path ~).Path "scoop\shims" >> $Env:GITHUB_PATH | |
- name: Install Redis [Windows] | |
if: matrix.os == 'windows-latest' | |
run: scoop install redis | |
- name: Install Redis [-nix] | |
if: matrix.os != 'windows-latest' | |
uses: shogo82148/actions-setup-redis@f91ca46d6ab57b100b093a7bbb8addc747992376 # v1 | |
with: | |
redis-version: 6.x | |
- name: Install Chrome Browser | |
uses: browser-actions/setup-chrome@latest | |
- name: Install Chromedriver | |
uses: nanasess/setup-chromedriver@v1 | |
- name: Run Tests [Windows] | |
if: matrix.os == 'windows-latest' | |
run: | | |
redis-server & | |
chromedriver & | |
cargo nextest run | |
env: | |
REDIS_URL: redis://127.0.0.1:6379 | |
- name: Run Tests [-nix] | |
if: matrix.os != 'windows-latest' | |
run: | | |
chromedriver & | |
cargo nextest run | |
env: | |
REDIS_URL: redis://127.0.0.1:6379 |