mirror of
https://github.com/Vomitblood/stort.git
synced 2024-11-26 13:55:27 +08:00
updated github actions workflow
This commit is contained in:
parent
a4568681c8
commit
88ef1a77d6
|
@ -1,4 +1,4 @@
|
|||
name: Test Build Frontend
|
||||
name: Build
|
||||
|
||||
on:
|
||||
push:
|
||||
|
@ -39,8 +39,8 @@ jobs:
|
|||
shell: bash
|
||||
|
||||
- name: Check cargo version
|
||||
shell: bash
|
||||
run: cargo --version
|
||||
shell: bash
|
||||
|
||||
- name: Install mise
|
||||
run: |
|
27
.github/workflows/testing.yml
vendored
Normal file
27
.github/workflows/testing.yml
vendored
Normal file
|
@ -0,0 +1,27 @@
|
|||
name: Testing
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "*"
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Install Rust
|
||||
run: |
|
||||
apt update && apt install -y curl
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||
. "$HOME/.cargo/env"
|
||||
shell: bash
|
||||
|
||||
- name: Testing
|
||||
run: |
|
||||
cargo --help
|
||||
cargo --version
|
||||
shell: bash
|
Loading…
Reference in a new issue