stort/.github/workflows/build-validation.yml

29 lines
504 B
YAML
Raw Normal View History

name: Test Build Frontend
on:
push:
branches:
- "*"
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Install Rust
run: |
2024-08-08 00:58:51 +08:00
apt update && apt install -y curl
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
2024-08-08 01:21:33 +08:00
. "$HOME/.cargo/env"
2024-08-08 01:20:30 +08:00
cargo --version
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
run: |
2024-08-08 00:52:27 +08:00
cargo --help
cargo --version
2024-08-08 01:15:21 +08:00
shell: bash