Skip to content

Adding workflows

Adding workflows #1

Workflow file for this run

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