Skip to content

chore: bump go version to 1.22 #329

chore: bump go version to 1.22

chore: bump go version to 1.22 #329

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