Refresh GitHub workflows (#337)

* Add .idea in .gitignore

* Refresh Github workflows

* Allow very complex type usage in ntex-rt
This commit is contained in:
Pavlos-Petros Tournaris 2024-04-07 20:42:16 +03:00 committed by GitHub
parent 0b73ae8fa8
commit a858394855
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 51 additions and 79 deletions

View file

@ -15,37 +15,30 @@ jobs:
runs-on: macOS-latest
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v4
- name: Install ${{ matrix.version }}
uses: actions-rs/toolchain@v1
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: ${{ matrix.version }}-x86_64-apple-darwin
profile: minimal
override: true
- name: Generate Cargo.lock
uses: actions-rs/cargo@v1
with:
command: generate-lockfile
run: cargo generate-lockfile
- name: Cache cargo registry
uses: actions/cache@v1
uses: actions/cache@v4
with:
path: ~/.cargo/registry
key: ${{ matrix.version }}-x86_64-apple-darwin-cargo-registry-trimmed-${{ hashFiles('**/Cargo.lock') }}
- name: Cache cargo index
uses: actions/cache@v1
uses: actions/cache@v4
with:
path: ~/.cargo/git
key: ${{ matrix.version }}-x86_64-apple-darwin-cargo-index-trimmed-${{ hashFiles('**/Cargo.lock') }}
- name: Run tests
uses: actions-rs/cargo@v1
with:
command: test
args: --all --all-features --no-fail-fast -- --nocapture
run: cargo test --all --all-features --no-fail-fast -- --nocapture
- name: Clear the cargo caches
run: |