Include license file in Rust crate (#1115)

* Include license file in Rust crate

* Ignore security warning.

* Also for python.

* Upgrading ubuntu version.

Co-authored-by: Nicolas Patry <patry.nicolas@protonmail.com>
This commit is contained in:
Andrew Kane
2022-11-30 14:17:56 -08:00
committed by GitHub
parent c74e9e62f6
commit 67080e163a
3 changed files with 4 additions and 3 deletions

View File

@ -51,7 +51,7 @@ jobs:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
strategy: strategy:
matrix: matrix:
os: [ubuntu-18.04, macos-latest] os: [ubuntu-latest, macos-latest]
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v1 uses: actions/checkout@v1
@ -101,7 +101,7 @@ jobs:
command: audit command: audit
# ignoring specific CVE which probably isn't affecting this crate # ignoring specific CVE which probably isn't affecting this crate
# https://github.com/chronotope/chrono/issues/602 # https://github.com/chronotope/chrono/issues/602
args: -D warnings -f ./bindings/python/Cargo.lock --ignore RUSTSEC-2020-0071 args: -D warnings -f ./bindings/python/Cargo.lock --ignore RUSTSEC-2020-0071 --ignore RUSTSEC-2021-0145
- name: Install - name: Install
working-directory: ./bindings/python working-directory: ./bindings/python

View File

@ -87,7 +87,7 @@ jobs:
command: audit command: audit
# ignoring specific CVE which probably isn't affecting this crate # ignoring specific CVE which probably isn't affecting this crate
# https://github.com/chronotope/chrono/issues/602 # https://github.com/chronotope/chrono/issues/602
args: -D warnings -f ./tokenizers/Cargo.lock --ignore RUSTSEC-2020-0071 args: -D warnings -f ./tokenizers/Cargo.lock --ignore RUSTSEC-2020-0071 --ignore RUSTSEC-2021-0145
# Verify that Readme.md is up to date. # Verify that Readme.md is up to date.
- name: Make sure, Readme generated from lib.rs matches actual Readme - name: Make sure, Readme generated from lib.rs matches actual Readme

1
tokenizers/LICENSE Symbolic link
View File

@ -0,0 +1 @@
../LICENSE