Skip to content

fix(exercise03): 声明需要 static,定义不需要 #20

fix(exercise03): 声明需要 static,定义不需要

fix(exercise03): 声明需要 static,定义不需要 #20

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# rust-clippy is a tool that runs a bunch of lints to catch common
# mistakes in your Rust code and help improve your Rust code.
# More details at https://github.com/rust-lang/rust-clippy
# and https://rust-lang.github.io/rust-clippy/
name: CI
on:
pull_request:
push:
paths-ignore:
- '**.md'
- 'LICENSE'
jobs:
rust-clippy-analyze:
name: Run xmake build
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install xmake
uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: latest
- name: Build
run: xmake
- name: Summary
run: xmake run summary