Skip to content

Merge pull request #162 from kcl-lang/chore-bump-lib-0.10.8 #348

Merge pull request #162 from kcl-lang/chore-bump-lib-0.10.8

Merge pull request #162 from kcl-lang/chore-bump-lib-0.10.8 #348

Workflow file for this run

name: rust-test
on:
push:
branches:
- main
- master
tags:
- '*'
pull_request:
branches:
- main
paths:
- "Cargo.toml"
- "src/**"
- ".github/workflows/rust-test.yaml"
workflow_dispatch:
permissions:
contents: read
jobs:
rust-test:
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Git checkout
uses: actions/checkout@v2
- name: Install rust nightly toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: 1.79
override: true
components: clippy, rustfmt
- name: Rust code test
run: cargo test