Skip to content

Commit 72ad638

Browse files
authored
Flatpak support (#18)
* initial code * add metainfo file * some fix * fix: show displays * pin libcosmic version * fix icons and config * fix dep error on flatpak * last fixes * fix ci * change ci
1 parent b8d9cfd commit 72ad638

20 files changed

+367
-168
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ on:
55
pull_request:
66
types: [opened, synchronize, reopened, ready_for_review]
77

8-
paths-ignore:
9-
- "**.md"
10-
118
concurrency:
129
group: ${{ github.ref }}-${{ github.workflow }}
1310
cancel-in-progress: true
@@ -17,13 +14,9 @@ env:
1714

1815
jobs:
1916
build:
20-
name: Rust tests on ${{ matrix.os }}
17+
name: Rust tests
2118
if: github.event.pull_request.draft == false
22-
strategy:
23-
fail-fast: false
24-
matrix:
25-
os: [ubuntu-latest]
26-
runs-on: ${{ matrix.os }}
19+
runs-on: ubuntu-latest
2720
steps:
2821
- uses: actions/checkout@v4
2922
- run: rustup update
@@ -36,13 +29,9 @@ jobs:
3629
run: cargo test --workspace --all-features
3730

3831
clippy:
39-
name: Clippy on ${{ matrix.os }}
32+
name: Clippy
4033
if: github.event.pull_request.draft == false
41-
strategy:
42-
fail-fast: false
43-
matrix:
44-
os: [ubuntu-latest]
45-
runs-on: ${{ matrix.os }}
34+
runs-on: ubuntu-latest
4635
steps:
4736
- uses: actions/checkout@v4
4837
- run: rustup update
@@ -57,12 +46,19 @@ jobs:
5746
fmt:
5847
name: Rustfmt
5948
if: github.event.pull_request.draft == false
60-
strategy:
61-
fail-fast: false
6249
runs-on: ubuntu-latest
6350
steps:
6451
- uses: actions/checkout@v4
6552
- run: rustup update
6653

6754
- name: Run rustfmt
6855
run: cargo fmt --all --check --verbose
56+
57+
prettier:
58+
name: Prettier fmt
59+
if: github.event.pull_request.draft == false
60+
runs-on: ubuntu-latest
61+
steps:
62+
- uses: actions/checkout@v4
63+
- name: Prettier
64+
run: npx prettier --check .

.github/workflows/prettier.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22

33
/.flatpak-builder
44
/flatpak-builder-tools
5-
/repo
5+
/repo
6+
/flatpak-out

.vscode/settings.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"rust-analyzer.linkedProjects": ["./Cargo.toml"],
3+
"rust-analyzer.initializeStopped": true,
4+
"rust-analyzer.files.exclude": [".flatpak-builder", "flatpak-out"],
5+
"files.watcherExclude": {
6+
".flatpak-builder": true,
7+
"flatpak-out": true,
8+
"repo": true
9+
}
10+
}

0 commit comments

Comments
 (0)