first commit
Some checks are pending
spot-quality / ci-check (push) Waiting to run
spot-quality / shellcheck (push) Waiting to run

This commit is contained in:
Théo Barnouin 2024-11-13 16:41:51 +01:00
commit 15cf412840
255 changed files with 47845 additions and 0 deletions

22
.github/workflows/spot-development.yml vendored Normal file
View file

@ -0,0 +1,22 @@
name: spot-development
on:
pull_request:
branches: [development]
workflow_dispatch:
jobs:
flatpak-builder:
name: "Flatpak Builder"
runs-on: ubuntu-latest
container:
image: bilelmoussaoui/flatpak-github-actions:gnome-nightly
options: --privileged
steps:
- uses: actions/checkout@v2
- uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v4
with:
bundle: "spot.flatpak"
manifest-path: "dev.alextren.Spot.development.json"
cache-key: flatpak-builder-${{ github.sha }}
run-tests: true

36
.github/workflows/spot-quality.yml vendored Normal file
View file

@ -0,0 +1,36 @@
name: spot-quality
on:
push:
pull_request:
jobs:
ci-check:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
default: true
components: rustfmt
- name: Add empty config.rs
run: |
echo >> src/config.rs
- name: Format
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
shellcheck:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- run: |
sudo apt-get -y update && sudo apt-get -y install shellcheck
find $GITHUB_WORKSPACE -type f -and \( -name "*.sh" \) | xargs shellcheck

24
.github/workflows/spot-snapshots.yml vendored Normal file
View file

@ -0,0 +1,24 @@
name: spot-snapshots
on:
push:
branches: [master]
pull_request:
branches: [master]
workflow_dispatch:
jobs:
flatpak-builder:
name: "Flatpak Builder"
runs-on: ubuntu-latest
container:
image: bilelmoussaoui/flatpak-github-actions:gnome-42
options: --privileged
steps:
- uses: actions/checkout@v2
- uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v4
with:
bundle: "spot.flatpak"
manifest-path: "dev.alextren.Spot.snapshots.json"
cache-key: flatpak-builder-${{ github.sha }}
run-tests: true