Skip to content

build(deps): bump Swatinem/rust-cache from 2.5.0 to 2.5.1 #174

build(deps): bump Swatinem/rust-cache from 2.5.0 to 2.5.1

build(deps): bump Swatinem/rust-cache from 2.5.0 to 2.5.1 #174

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
env:
# The NAME makes it easier to copy/paste snippets from other CI configs
NAME: treeedb
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Format
run: cargo fmt && git diff --exit-code
- name: Deps
run: |
rustup update
rustup component add clippy
- uses: Swatinem/rust-cache@dd05243424bd5c0e585e4b55eb2d7615cdd32f1f
- name: Lint
run: make lint
static:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Deps
run: |
sudo apt-get install -y musl-tools
rustup target add x86_64-unknown-linux-musl
- uses: Swatinem/rust-cache@dd05243424bd5c0e585e4b55eb2d7615cdd32f1f
- run: make static
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: Swatinem/rust-cache@dd05243424bd5c0e585e4b55eb2d7615cdd32f1f
- run: env RUSTFLAGS="@$PWD/rustc-flags" make build
- name: Deps
run: |
sudo wget https://souffle-lang.github.io/ppa/souffle-key.public -O /usr/share/keyrings/souffle-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/souffle-archive-keyring.gpg] https://souffle-lang.github.io/ppa/ubuntu/ stable main" | sudo tee /etc/apt/sources.list.d/souffle.list
sudo apt update
sudo apt install souffle=2.3
- run: env RUSTFLAGS="@$PWD/rustc-flags" make test