Skip to content

Commit

Permalink
upgrade serenity and switch to botox
Browse files Browse the repository at this point in the history
  • Loading branch information
cheesycod committed Apr 18, 2024
1 parent 2a63490 commit dc678a1
Show file tree
Hide file tree
Showing 19 changed files with 1,191 additions and 1,164 deletions.
19 changes: 19 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "cargo" # See documentation for possible values
directory: "/api" # Location of package manifests
schedule:
interval: "daily"
- package-ecosystem: "cargo" # See documentation for possible values
directory: "/bot" # Location of package manifests
schedule:
interval: "daily"
- package-ecosystem: "cargo" # See documentation for possible values
directory: "/libavacado" # Location of package manifests
schedule:
interval: "daily"
36 changes: 36 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Cargo Build & Test

on:
push:
pull_request:

env:
CARGO_TERM_COLOR: always
SQLX_OFFLINE: true

jobs:
build_and_test:
name: Skynet
runs-on: ubuntu-latest
defaults:
run:
working-directory: .
strategy:
matrix:
toolchain:
- stable
- beta
- nightly
steps:
- uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v2
with:
prefix-key: ${{ matrix.toolchain }}
workspaces: ".-> target"
- name: Install lld
run: sudo apt-get install -y lld
- name: Install mold
run: sudo apt-get install -y mold
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- run: cargo build --verbose
- run: cargo test --verbose
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
skynet/skynet
**/config.yaml
**/config.yaml.sample
target
Loading

0 comments on commit dc678a1

Please sign in to comment.