Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

Documentation claims toolchain: stable is default, but it is not. #231

Open
jwalton opened this issue Oct 6, 2023 · 0 comments
Open

Documentation claims toolchain: stable is default, but it is not. #231

jwalton opened this issue Oct 6, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@jwalton
Copy link

jwalton commented Oct 6, 2023

Description

The README.md says that the "stable" toolchain is the default:

image

But if you don't specify a toolchain, you get:

Error: toolchain input was not given and repository does not have a rust-toolchain file

(See https://github.com/jwalton/rust-tokio-task-tracker/actions/runs/6436035135/job/17478566687).

Workflow code

name: Test

on: [push, pull_request]

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - name: Install Rust
        uses: actions-rs/toolchain@v1
      - run: cargo test
      - run: cargo clippy

Action output

   with:
    default: false
    override: false
Error: toolchain input was not given and repository does not have a rust-toolchain file

Expected behavior

Should default to toolchain: default.

@jwalton jwalton added the bug Something isn't working label Oct 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant