Skip to content

Merge pull request #58 from kcl-lang/refactor-ci #2

Merge pull request #58 from kcl-lang/refactor-ci

Merge pull request #58 from kcl-lang/refactor-ci #2

Workflow file for this run

name: rust-test
on:
push:
branches:
- main
- master
tags:
- '*'
pull_request:
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.74
override: true
components: clippy, rustfmt
- name: Rust code test
run: cargo test