New: custom graphics with trail map background for discord notifications #80
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: | |
branches: | |
- main | |
types: | |
- opened | |
- edited | |
- synchronize | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@stable | |
- name: web assets build | |
run: npm ci && npm run build | |
working-directory: map_service | |
- name: Run linters | |
uses: wearerequired/lint-action@master | |
with: | |
auto_fix: false | |
rustfmt: true | |
clippy: true | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@stable | |
- name: web assets build | |
run: npm ci && npm run build | |
working-directory: map_service | |
- name: Cargo build | |
run: cargo build --verbose | |
build_docker: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
# just check that it builds, dont push it anywhere cuz whatever | |
- name: Build and push | |
uses: docker/build-push-action@v3 | |
with: | |
push: false | |
tags: cbackas/troyonthetrails:pr |