This commit is contained in:
Jonas Kruckenberg
2022-12-14 20:39:21 +01:00
parent 9a1fa9acbc
commit 36698d1436
22 changed files with 101 additions and 67 deletions
+4 -4
View File
@@ -3,19 +3,19 @@ name: Audit JavaScript
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
- cron: "0 0 * * *"
push:
branches:
- dev
paths:
- '.github/workflows/audit-javascript.yml'
- ".github/workflows/audit-javascript.yml"
- "**/pnpm-lock.yaml"
- "**/package.json"
pull_request:
branches:
- dev
paths:
- '.github/workflows/audit-javascript.yml'
- ".github/workflows/audit-javascript.yml"
- "**/pnpm-lock.yaml"
- "**/package.json"
@@ -42,4 +42,4 @@ jobs:
with:
run_install: true
- name: audit
run: pnpm audit
run: pnpm audit
+4 -4
View File
@@ -3,19 +3,19 @@ name: Audit Rust
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
- cron: "0 0 * * *"
push:
branches:
- dev
paths:
- '.github/workflows/audit-rust.yml'
- ".github/workflows/audit-rust.yml"
- "**/Cargo.lock"
- "**/Cargo.toml"
pull_request:
branches:
- dev
paths:
- '.github/workflows/audit-rust.yml'
- ".github/workflows/audit-rust.yml"
- "**/Cargo.lock"
- "**/Cargo.toml"
@@ -30,4 +30,4 @@ jobs:
- uses: actions/checkout@v3
- uses: actions-rs/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
+11 -11
View File
@@ -5,21 +5,21 @@ on:
branches:
- dev
paths:
- '.github/workflows/lint-javascript.yml'
- 'plugins/*/guest-js/**'
- '.eslintignore'
- '.eslintrc.json'
- '.prettierignore'
- ".github/workflows/lint-javascript.yml"
- "plugins/*/guest-js/**"
- ".eslintignore"
- ".eslintrc.json"
- ".prettierignore"
- "**/package.json"
pull_request:
branches:
- dev
paths:
- '.github/workflows/lint-javascript.yml'
- 'plugins/*/guest-js/**'
- '.eslintignore'
- '.eslintrc.json'
- '.prettierignore'
- ".github/workflows/lint-javascript.yml"
- "plugins/*/guest-js/**"
- ".eslintignore"
- ".eslintrc.json"
- ".prettierignore"
- "**/package.json"
concurrency:
@@ -64,4 +64,4 @@ jobs:
with:
run_install: true
- name: prettier check
run: pnpm format-check
run: pnpm format-check
+17 -17
View File
@@ -5,15 +5,15 @@ on:
branches:
- dev
paths:
- '.github/workflows/lint-rust.yml'
- 'plugins/src/**'
- ".github/workflows/lint-rust.yml"
- "plugins/src/**"
- "**/Cargo.toml"
pull_request:
branches:
- dev
paths:
- '.github/workflows/lint-rust.yml'
- 'plugins/src/**'
- ".github/workflows/lint-rust.yml"
- "plugins/src/**"
- "**/Cargo.toml"
concurrency:
@@ -27,7 +27,7 @@ jobs:
fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v3
- name: install webkit2gtk
run: |
sudo apt-get update
@@ -35,10 +35,10 @@ jobs:
- name: Install clippy with stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
components: clippy
profile: minimal
toolchain: stable
override: true
components: clippy
- uses: Swatinem/rust-cache@v1
- uses: actions-rs/clippy-check@v1
with:
@@ -51,15 +51,15 @@ jobs:
fail-fast: false
steps:
- uses: actions/checkout@v3
- name: Install rustfmt with nightly toolchain
uses: actions-rs/toolchain@v1
with:
- uses: actions/checkout@v3
- name: Install rustfmt with nightly toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
override: true
components: rustfmt
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check