Skip to content

chore(deps): update rust docker tag to v1.78.0 #369

chore(deps): update rust docker tag to v1.78.0

chore(deps): update rust docker tag to v1.78.0 #369

Workflow file for this run

name: CI
on:
pull_request:
branches: [master]
types: [opened, reopened, synchronize]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
target:
- x86_64-unknown-linux-gnu
- x86_64-unknown-linux-musl
rust:
- stable
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}
override: true
- name: Ready cache
if: matrix.os == 'ubuntu-latest'
run: sudo chown -R $(whoami):$(id -ng) ~/.cargo/
- name: Test
uses: actions-rs/cargo@v1
with:
command: test
args: --target ${{ matrix.target }}
lint:
name: Linting (fmt + clippy)
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- stable
steps:
- name: Install rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
components: rustfmt, clippy
- name: Checkout
uses: actions/checkout@v4
- name: Clippy
uses: actions-rs/cargo@v1
with:
command: clippy
- name: Format check
uses: actions-rs/cargo@v1
with:
command: fmt
args: -- --check