diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ed185a3..a7306c5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,11 +4,9 @@ name: CI # Controls when the workflow will run on: - # Triggers the workflow on push or pull request events but only for the "master" branch + # Triggers the workflow on push or pull request events push: - branches: [ "master" ] pull_request: - branches: [ "master" ] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: diff --git a/.mdl.rb b/.mdl.rb new file mode 100644 index 0000000..6e40d51 --- /dev/null +++ b/.mdl.rb @@ -0,0 +1,3 @@ +all + +rule 'MD013', :code_blocks => false diff --git a/.mdlrc b/.mdlrc new file mode 100644 index 0000000..d068c66 --- /dev/null +++ b/.mdlrc @@ -0,0 +1 @@ +style '.mdl.rb' diff --git a/README.md b/README.md index 676b185..6d130ef 100644 --- a/README.md +++ b/README.md @@ -2,15 +2,16 @@ Find the Linux versions where the commits passed as arguments are available. -When you start the tool the current directory must be a clone of the Linux stable repository: +When you start the tool the current directory must be a clone of the Linux stable +repository: -``` +```text git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git ``` E.g.: -``` +```text user@host:~$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git user@host:~$ cd linux user@host:~$ ~/linux-version-finder/linux-version-finder 22b106e5355d6e7a9c3b5cb5ed4ef22ae585ea94 @@ -19,7 +20,7 @@ v5.4.198 v5.10.121 v5.15.46 v5.17.14 v5.18.3 v5.19-rc1 or the check for multiple commits: -``` +```text user@host:~$ ~/linux-version-finder/linux-version-finder 22b106e5355d6e7a9c3b5cb5ed4ef22ae585ea94 2939e1a86f758b55cdba73e29397dd3d94df13bc v5.4.198 v5.10.121 v5.15.46 v5.17.14 v5.18.3 v5.19-rc1 ``` @@ -30,6 +31,6 @@ linux-version-finder --help ## Linux Install requirements -``` +```text pip3 install -r requirements.txt ```