Skip to content

frontend: Do not show empty projects in the images list #378

frontend: Do not show empty projects in the images list

frontend: Do not show empty projects in the images list #378

Workflow file for this run

on: [pull_request]
name: RUST Continuous integration
jobs:
test:
name: Test Suite
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: actions-rs/cargo@v1
with:
command: test
args: --features=daemon
fmt:
name: Rustfmt
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- run: rustup component add rustfmt
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
clippy:
name: Clippy
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- run: rustup component add clippy
- uses: actions-rs/cargo@v1
with:
command: clippy
args: --features=daemon -- -D warnings
build:
name: Build Linux
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- run: cargo build --release --features=daemon
- run: strip target/release/sadmin
- uses: actions/upload-artifact@v3
with:
name: sadmin_linux
path: target/release/sadmin
build_mac:
name: Build OSX
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- run: cargo build --release
- run: strip target/release/sadmin
- uses: actions/upload-artifact@v3
with:
name: sadmin_osx
path: target/release/sadmin
build_win:
name: Build Windows
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- run: cargo build --release
- run: strip target/release/sadmin.exe
- uses: actions/upload-artifact@v3
with:
name: sadmin_win
path: target/release/sadmin.exe