Skip to content

Merge pull request #4 from rust-dd/feat/add_new_exercise #6

Merge pull request #4 from rust-dd/feat/add_new_exercise

Merge pull request #4 from rust-dd/feat/add_new_exercise #6

Workflow file for this run

name: Rust
on:
push:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
- name: Version
run: cargo --version --verbose
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- name: Deploy to DigitalOcean
uses: digitalocean/app_action@v1 # switch to v2 after https://github.com/digitalocean/app_action/issues/123
with:
app_name: tryrust-org
token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}