Skip to content

Commit

Permalink
ci: review ci and linter workflows #3
Browse files Browse the repository at this point in the history
Signed-off-by: rjtch <tchuinkoufongue@gmail.com>
  • Loading branch information
rjtch authored and afrittoli committed Feb 5, 2024
1 parent 3776117 commit 06d5076
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 56 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: ci

on:
push:
workflow_dispatch:

permissions:
contents: read

jobs:
tests:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: full
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: "true"
# - uses: jdx/mise-action@v2
- name: install mise until mise-action is allowed
uses: taiki-e/install-action@v2
with:
tool: mise, cargo-nextest, cargo-hack
- name: Rust Cache
uses: actions/cache@v4
continue-on-error: false
with:
path: |
~/.cargo/bin
~/.cargo/registry
~/.cargo/git/db/
key: ${{ runner.os }}-sdk-rust-${{ hashFiles('**/Cargo.toml') }} # no Cargo.lock in this repo
restore-keys: |
${{ runner.os }}-sdk-rust-
- run: make generate
- run: make check_no_uncommitted_changes_on_sdk
- run: make check
- run: make test
File renamed without changes.
56 changes: 0 additions & 56 deletions .github/workflows/test.yaml

This file was deleted.

0 comments on commit 06d5076

Please sign in to comment.