Skip to content

Commit

Permalink
chore: update code generation to latest rust nightly (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsherret authored Jul 25, 2024
1 parent 63fddea commit 1d6f9f1
Show file tree
Hide file tree
Showing 11 changed files with 265 additions and 281 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,23 +24,22 @@ jobs:
RUST_BACKTRACE: full

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: dsherret/rust-toolchain-file@v1
- uses: Swatinem/rust-cache@v2
with:
save-if: ${{ github.ref == 'refs/heads/main' }}

- uses: denoland/setup-deno@v1

# - name: Ensure code generation same
# if: matrix.config.kind == 'test_debug'
# run: |
# # lock this so it works on Rust 1.65
# cargo install cargo-clone --version 1.1.0 --locked
# chmod +x ./scripts/generate.ts
# ./scripts/generate.ts
# echo Checking for git changes...
# git diff --no-ext-diff --exit-code
- name: Ensure code generation same
if: matrix.config.kind == 'test_debug'
run: |
cargo install cargo-clone --version 1.2.1 --locked
chmod +x ./scripts/generate.ts
./scripts/generate.ts
echo Checking for git changes...
git diff --no-ext-diff --exit-code
- name: Build debug
if: matrix.config.kind == 'test_debug'
Expand Down
Loading

0 comments on commit 1d6f9f1

Please sign in to comment.