Skip to content

Commit

Permalink
rebase to develop latest
Browse files Browse the repository at this point in the history
  • Loading branch information
akildemir committed Oct 4, 2023
2 parents 986495c + 4ee65ed commit 445727b
Show file tree
Hide file tree
Showing 95 changed files with 5,377 additions and 2,560 deletions.
2 changes: 1 addition & 1 deletion .github/actions/build-dependencies/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ inputs:
rust-toolchain:
description: "Rust toolchain to install"
required: false
default: stable
default: 1.72.1

rust-components:
description: "Rust components to install"
Expand Down
2 changes: 1 addition & 1 deletion .github/nightly-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nightly-2023-09-01
nightly-2023-10-01
2 changes: 1 addition & 1 deletion .github/workflows/daily-deny.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Install cargo
uses: dtolnay/rust-toolchain@5cb429dd810e16ff67df78472fa81cf760f4d1c0
with:
toolchain: stable
toolchain: 1.72.1

- name: Install cargo deny
run: cargo install --locked cargo-deny
Expand Down
21 changes: 18 additions & 3 deletions .github/workflows/full-stack-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,25 @@ jobs:
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac

- name: Install Build Dependencies
uses: ./.github/actions/build-dependencies
# - name: Install Build Dependencies
# uses: ./.github/actions/build-dependencies
# with:
# github-token: ${{ inputs.github-token }}

# Inlined build-dependencies action to minimize disk usage
- name: Install Protobuf
uses: arduino/setup-protoc@a8b67ba40b37d35169e222f3bb352603327985b6
with:
repo-token: ${{ inputs.github-token }}

- name: Install Rust
uses: dtolnay/rust-toolchain@5cb429dd810e16ff67df78472fa81cf760f4d1c0
with:
github-token: ${{ inputs.github-token }}
toolchain: stable
targets: wasm32-unknown-unknown

- name: Remove unused packages
run: sudo apt remove -y *powershell* *bazel* *nodejs* *npm* *yarn* *terraform* *firefox* *chromium* *texinfo* *sqlite3* *imagemagick* && sudo apt autoremove -y

- name: Run Full Stack Docker tests
run: cd tests/full-stack && GITHUB_CI=true RUST_BACKTRACE=1 cargo test
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Install cargo
uses: dtolnay/rust-toolchain@5cb429dd810e16ff67df78472fa81cf760f4d1c0
with:
toolchain: stable
toolchain: 1.72.1

- name: Install cargo deny
run: cargo install --locked cargo-deny
Expand Down
28 changes: 28 additions & 0 deletions .github/workflows/mini-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: mini/ Tests

on:
push:
branches:
- develop
paths:
- "mini/**"

pull_request:
paths:
- "mini/**"

workflow_dispatch:

jobs:
test-common:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac

- name: Test Dependencies
uses: ./.github/actions/test-dependencies
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Run Tests
run: GITHUB_CI=true RUST_BACKTRACE=1 cargo test --all-features -p mini-serai
Loading

0 comments on commit 445727b

Please sign in to comment.