Skip to content

.github/workflows: Update actions #14

.github/workflows: Update actions

.github/workflows: Update actions #14

Workflow file for this run

name: CI
on:
push:
branches:
- main
- feature/ci
tags:
- v[0-9]+.*
- testing-ci.*
pull_request:
jobs:
lint:
name: Clippy
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install rust
run: |
rustup update stable && rustup default stable
rustup component add clippy
- name: Run clippy
run: cargo clippy --all --all-features -- -Dwarnings
test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
toolchain: [stable, nightly]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install rust
run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- name: Build
run: cargo build --all
- name: Test
run: cargo test --all