Bump syn from 2.0.52 to 2.0.55 in /clashtui #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pull Request | |
on: | |
pull_request: | |
env: | |
CARGO_TERM_COLOR: always | |
CLASHTUI_VERSION: ${{ github.head_ref }} | |
jobs: | |
build-linux: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Mihomo | |
run: | | |
wget --output-document mihomo.gz https://github.com/MetaCubeX/mihomo/releases/download/v1.18.0/mihomo-linux-amd64-v1.18.0.gz | |
gunzip mihomo.gz | |
chmod +x mihomo | |
nohup ./mihomo -d Example -f Example/basic_clash_config.yaml & | |
- name: Download Dependencies | |
run: cd clashtui && cargo fetch | |
- name: Build | |
run: cd clashtui && cargo build --verbose | |
- name: Run tests | |
run: cd clashtui && cargo test --all --verbose | |
- name: Build Version | |
run: cd clashtui && cargo r -- -v | |
- name: Pre Upload | |
run: | | |
mkdir artifacts | |
mv ./clashtui/target/debug/clashtui ./artifacts/clashtui.debug | |
- name: upload artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Linux_Build | |
path: artifacts | |
retention-days: 5 |