mirror of
https://github.com/13hannes11/toolbx-tuner.git
synced 2024-09-03 23:21:00 +02:00
update workflow files
This commit is contained in:
22
.github/workflows/linting.yml
vendored
Normal file
22
.github/workflows/linting.yml
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
|
||||
name: CI
|
||||
|
||||
jobs:
|
||||
rustfmt:
|
||||
name: Rustfmt
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
lfs: true
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
toolchain: stable
|
||||
components: rustfmt
|
||||
- name: Create blank versions of configured file
|
||||
run: echo -e "" >> src/config.rs
|
||||
- name: Run cargo fmt
|
||||
run: cargo fmt --all -- --check
|
||||
@@ -1,26 +1,12 @@
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
|
||||
name: CI
|
||||
|
||||
jobs:
|
||||
rustfmt:
|
||||
name: Rustfmt
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
lfs: true
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
toolchain: stable
|
||||
components: rustfmt
|
||||
- name: Create blank versions of configured file
|
||||
run: echo -e "" >> src/config.rs
|
||||
- name: Run cargo fmt
|
||||
run: cargo fmt --all -- --check
|
||||
|
||||
flatpak:
|
||||
name: Flatpak-prerelease
|
||||
runs-on: ubuntu-latest
|
||||
@@ -79,3 +65,4 @@ jobs:
|
||||
**/*.tar.gz
|
||||
**/*.sha256sum
|
||||
|
||||
|
||||
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -3,7 +3,7 @@ name: "tagged-release"
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "v[0-9]+.0-9]+.0-9]+"
|
||||
- "v*"
|
||||
jobs:
|
||||
flatpak:
|
||||
name: Flatpak
|
||||
|
||||
Reference in New Issue
Block a user