Skip to content

Fix syntax error in workflow #7

Fix syntax error in workflow

Fix syntax error in workflow #7

Workflow file for this run

name: Main
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
QT_VERSION: 6.6
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
id: cache-deps
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Install Qt
uses: jurplel/install-qt-action@v3
with:
version: "${{ env.QT_VERSION }}.*"
cache: true
modules: 'qtshadertools'
- name: Setup Linux dependencies
run: |
sudo apt-get update
sudo apt-get install \
libkf6coreaddons-dev \
libkf6i18n-dev \
libkf6crash-dev
- name: Build
run: cargo build --verbose
- name: Run clippy
run: cargo clippy