Adding workflows #1
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: Upgrade | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
upgrade: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
- uses: Swatinem/rust-cache@v1 | |
- uses: oleksiyrudenko/gha-git-credentials@v2-latest | |
with: | |
token: '${{ secrets.GITHUB_TOKEN }}' | |
- name: Build Torrust-Actix Tracker | |
run: cargo build --release | |
- name: Push the changes of Cargo.lock | |
run: | | |
git add -A | |
git commit -m "Updating Cargo.lock" | |
git push | |
- name: Update cargo crate | |
run: cargo update |