updated github actions workflow

This commit is contained in:
Vomitblood 2024-08-08 01:31:49 +08:00
parent a4568681c8
commit 88ef1a77d6
2 changed files with 29 additions and 2 deletions

View file

@ -1,4 +1,4 @@
name: Test Build Frontend name: Build
on: on:
push: push:
@ -39,8 +39,8 @@ jobs:
shell: bash shell: bash
- name: Check cargo version - name: Check cargo version
shell: bash
run: cargo --version run: cargo --version
shell: bash
- name: Install mise - name: Install mise
run: | run: |

27
.github/workflows/testing.yml vendored Normal file
View 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