Skip to content

Commit

Permalink
Merge pull request #126 from plaans/deps
Browse files Browse the repository at this point in the history
build: Update depencies and CI config
  • Loading branch information
arbimo authored Jan 25, 2024
2 parents a3bbd70 + 972f118 commit 2793777
Show file tree
Hide file tree
Showing 2 changed files with 224 additions and 213 deletions.
61 changes: 10 additions & 51 deletions .github/workflows/aries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,8 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
# - uses: Swatinem/rust-cache@v1
# with:
# cache-on-failure: true
- uses: actions-rs/cargo@v1
with:
command: test
- uses: dtolnay/rust-toolchain@stable
- run: cargo test

lints:
name: Rustfmt and Clippy
Expand All @@ -32,24 +23,11 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.70.0 # stable
override: true
# - uses: Swatinem/rust-cache@v1
# with:
# cache-on-failure: true
- run: rustup component add rustfmt
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- run: rustup component add clippy
- uses: actions-rs/cargo@v1
- uses: dtolnay/[email protected] # fixed version to avoid failures on rust version releases
with:
command: clippy
args: -- -D warnings
components: clippy, rustfmt
- run: cargo fmt --all -- --check
- run: cargo clippy -- -D warnings

integration-tests:
name: Solving
Expand All @@ -58,14 +36,7 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
# - uses: Swatinem/rust-cache@v1
# with:
# cache-on-failure: true
- uses: dtolnay/rust-toolchain@stable
- name: Install GNU parallel
run: sudo apt-get update && sudo apt-get install parallel
- name: Get problems from LFS
Expand All @@ -86,11 +57,7 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: dtolnay/rust-toolchain@stable
- name: Check for new protobuf definitions
run: |
# Download the latest protobuf definitions
Expand All @@ -116,11 +83,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: dtolnay/rust-toolchain@stable
- name: Submodules initialization
run: git submodule update --init # get our own copy of unified-planing repos
- name: Install python dependencies
Expand Down Expand Up @@ -166,11 +129,7 @@ jobs:
uses: actions/checkout@master
with:
fetch-depth: 0
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: dtolnay/rust-toolchain@stable
- name: Setup python
uses: actions/setup-python@v2
with:
Expand Down
Loading

0 comments on commit 2793777

Please sign in to comment.