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

28 lines
503 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: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
run: |
2024-08-08 00:52:27 +08:00
cargo --help
cargo --version
2024-08-08 01:15:21 +08:00
shell: bash