diff --git a/.github/workflows/security_audit.yml b/.github/workflows/security_audit.yml index e69de29..5a50559 100644 --- a/.github/workflows/security_audit.yml +++ b/.github/workflows/security_audit.yml @@ -0,0 +1,12 @@ +name: Security audit +on: + schedule: + - cron: '0 0 * * *' +jobs: + audit: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions-rs/audit-check@v1 + with: + token: ${{ secrets.GITHUB_TOKEN \ No newline at end of file diff --git a/.gitignore b/.gitignore index 02b8ed4..a84061f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ /target /scripts /systemd +/Cargo.lock config.json \ No newline at end of file diff --git a/Cargo.toml b/Cargo.toml index d0ffd2c..7035b1c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,8 +9,6 @@ repository = "https://github.com/bitbrain-za/judge" homepage = "https://github.com/bitbrain-za/judge" readme = "README.md" -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - [dependencies] mysql = "24.0.0" log = "0.4.17" @@ -26,5 +24,4 @@ sha256 = "1.4.0" termimad = "0.25.2" cliclack = "0.1.8" envcrypt = "0.5.0" - scoreboard_db = { version = "0.2.1", features = ["database"]}