Add symbolic icon (#24) #418
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: [main] | |
pull_request: | |
name: CI | |
jobs: | |
checks: | |
name: Checks | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Run checks.py | |
run: curl https://raw.githubusercontent.com/SeaDve/scripts/main/checks.py | python - --verbose --skip-rustfmt --skip-typos | |
rustfmt: | |
name: Rustfmt | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
components: rustfmt | |
- name: Create blank versions of configured file | |
run: echo -e "" >> src/config.rs | |
- name: Run rustfmt | |
run: cargo fmt --all -- --check | |
typos: | |
name: Typos | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Check for typos | |
uses: crate-ci/typos@master | |
codespell: | |
name: Codespell | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: codespell-project/actions-codespell@master | |
with: | |
check_filenames: true | |
ignore_words_list: "crate,ser" | |
skip: "*.svg,*.po" | |
flatpak: | |
name: Flatpak | |
runs-on: ubuntu-20.04 | |
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: noteworthy.flatpak | |
manifest-path: build-aux/io.github.seadve.Noteworthy.Devel.json | |
run-tests: true | |
cache-key: flatpak-builder-${{ github.sha }} |