Skip to content

Commit

Permalink
Update rust.yml
Browse files Browse the repository at this point in the history
Avoid testing on nightly and beta.

It fails there, but should pass on stable.

The error usually is

```
error[E0635]: unknown feature `proc_macro_span_shrink`
  --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.51/src/lib.rs:92:30
   |
92 |     feature(proc_macro_span, proc_macro_span_shrink)
   |                              ^^^^^^^^^^^^^^^^^^^^^^
```

For example https://github.com/ccouzens/vcloud-rest-openapi/actions/runs/7366189644/job/20048203866
  • Loading branch information
ccouzens authored Dec 30, 2023
1 parent f3249d9 commit 292385a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ jobs:
matrix:
toolchain:
- stable
- beta
- nightly
steps:
- uses: actions/checkout@v3
- run: cd transformer && rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
Expand Down

0 comments on commit 292385a

Please sign in to comment.