Update Workflows

main
trivernis 2 years ago
parent 52a956b2f7
commit 05aadf615d
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

@ -2,7 +2,6 @@ name: Build Container
on:
workflow_dispatch:
push:
push:
tags:
- "v*"

@ -1,4 +1,4 @@
name: Build and Test
name: Check
on:
workflow_dispatch:
@ -31,9 +31,15 @@ jobs:
key: ${{ runner.os }}-cargo-${{ hashFiles('Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-
- name: Run Rustfmt
uses: actions-rust-lang/rustfmt@v1.0.0
- name: Build
run: cargo build --verbose
- name: Run Clippy
uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Test coreutils
run: cargo test --verbose --package bot-coreutils

867
Cargo.lock generated

File diff suppressed because it is too large Load Diff

@ -15,13 +15,13 @@ panic = 'abort'
[dependencies]
bot-database = {path="./bot-database"}
bot-coreutils = {path="./bot-coreutils"}
serenity = "0.10"
serenity = "0.11"
dotenv = "0.15.0"
serde_derive = "1.0.137"
serde = "1.0.137"
thiserror = "1.0.31"
minecraft-data-rs = "0.4.5"
songbird = "0.2.2"
minecraft-data-rs = "0.5.0"
songbird = "0.3.0"
serde_json = "1.0.81"
rand = "0.8.5"
regex = "1.5.6"
@ -29,20 +29,20 @@ aspotify = "0.7.1"
lazy_static = "1.4.0"
futures = "0.3.21"
chrono = "0.4.19"
sysinfo = "0.24.2"
sysinfo = "0.26.4"
reqwest = "0.11.10"
chrono-tz = "0.6.1"
sauce-api = "0.9.3"
rustc_version_runtime = "0.2.1"
trigram = "0.4.4"
typemap_rev = "0.1.5"
typemap_rev = "0.2.0"
youtube-metadata = "0.2.0"
xkcd-search = "0.1.2"
animethemes-rs = "0.4.4"
build-time = "0.1.1"
tracing-subscriber = { version = "0.3.11", features = ["env-filter"] }
tracing = "0.1.34"
serenity-rich-interaction= "0.2.6"
serenity-rich-interaction= "0.3.1"
[dependencies.tokio]
version = "1.19.2"
@ -52,4 +52,4 @@ features = ["macros", "rt-multi-thread"]
git = "https://gitlab.com/vicky5124/lavalink-rs/"
rev = "2487c295"
features=["native", "serenity", "songbird", "tracing-log"]
default-features = false
default-features = false

@ -13,7 +13,7 @@ thiserror = "1.0.31"
tracing = "0.1.34"
[dependencies.sea-orm]
version = "0.8.0"
version = "0.9.2"
features = ["runtime-tokio-native-tls", "sqlx-postgres"]
[dependencies.migration]

@ -9,4 +9,4 @@ name = "migration"
path = "src/lib.rs"
[dependencies]
sea-orm-migration = "0.8.3"
sea-orm-migration = "0.9.2"

Loading…
Cancel
Save