the-honkers-railway-launcher/.github/workflows/check_source_code.yml

40 lines
741 B
YAML
Raw Normal View History

2023-08-02 12:44:51 +00:00
name: Check source code
on:
push:
branches: [ "next" ]
paths: [ "src/**" ]
2023-08-02 12:46:20 +00:00
pull_request:
branches: [ "main", "next" ]
paths: [ "src/**" ]
2023-08-02 12:44:51 +00:00
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
jobs:
check_source_code:
runs-on: ubuntu-latest
container:
image: ubuntu:devel
env:
DEBIAN_FRONTEND: noninteractive
steps:
- name: Install dependencies
run: |
apt update
2024-03-24 10:30:00 +00:00
apt install -y build-essential libgtk-4-dev libadwaita-1-dev git curl
2023-08-02 12:44:51 +00:00
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
- name: Checkout
uses: actions/checkout@v3
- name: Check source code
run: cargo check --verbose