mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-12-03 14:33:53 +03:00
65 lines
1.4 KiB
YAML
65 lines
1.4 KiB
YAML
name: check
|
|
on: [pull_request]
|
|
|
|
env:
|
|
CARGO_TERM_COLOR: always
|
|
|
|
jobs:
|
|
|
|
rustfmt:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v2
|
|
- name: Install Rust
|
|
run: bin/install_rust_latest.sh
|
|
- name: Check formatting
|
|
run: bin/check/rustfmt.sh
|
|
|
|
clippy:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v2
|
|
- name: Install Rust
|
|
run: bin/install_rust_latest.sh
|
|
- name: Run Clippy
|
|
run: bin/check/clippy.sh
|
|
|
|
shellcheck:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v2
|
|
- name: Check Shell Scripts
|
|
run: bin/check/shellcheck.sh
|
|
|
|
black:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v2
|
|
- name: Install black
|
|
run: pip3 install black
|
|
- name: Check Python Scripts
|
|
run: bin/check/black.sh
|
|
|
|
xmllint:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v2
|
|
- name: Install xmllint
|
|
run: sudo apt install -y libxml2-utils
|
|
- name: Check XML/HTML files
|
|
run: bin/check/xmllint.sh
|
|
|
|
update_crates:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v3
|
|
- name: Run crates update
|
|
run: bin/check/update_crates.sh --check
|
|
|