2024-08-07 15:23:09 +08:00
|
|
|
name: Test Build Frontend
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- "*"
|
|
|
|
|
|
|
|
permissions:
|
|
|
|
contents: write
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2024-08-08 00:45:20 +08:00
|
|
|
- name: Install Rust
|
|
|
|
run: |
|
2024-08-08 00:58:51 +08:00
|
|
|
apt update && apt install -y curl
|
2024-08-08 00:49:53 +08:00
|
|
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
2024-08-08 01:18:04 +08:00
|
|
|
echo "source $HOME/.cargo/env" >> $GITHUB_ENV
|
2024-08-08 01:15:21 +08:00
|
|
|
shell: bash
|
2024-08-08 00:35:49 +08:00
|
|
|
|
2024-08-08 00:52:27 +08:00
|
|
|
- name: Testing
|
2024-08-07 15:23:09 +08:00
|
|
|
run: |
|
2024-08-08 00:52:27 +08:00
|
|
|
cargo --help
|
|
|
|
cargo --version
|
2024-08-08 01:15:21 +08:00
|
|
|
shell: bash
|