Skip to content

chore: change rust-toolchain file to toml format #262

chore: change rust-toolchain file to toml format

chore: change rust-toolchain file to toml format #262

Workflow file for this run

name: Devcontainer
# When a pull request is opened that changes the Devcontainer configuration,
# ensure that the container continues to build properly.
on:
pull_request:
paths:
- .devcontainer/devcontainer.json
- .github/workflows/devcontainer.yml
- rust-toolchain
permissions:
contents: read
jobs:
rust-version:
runs-on: ubuntu-latest
container: ghcr.io/linkerd/dev:v40-rust
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
- run: |
dev=$(cargo version | cut -d' ' -f2)
tc=$(cat rust-toolchain)
if [ "$dev" != "$tc" ]; then
echo "::error file=rust-toolchain,line=1::rust-toolchain ($tc) does not match devcontainer ($dev)"
exit 1
fi
devcontainer-image:
runs-on: ubuntu-latest
steps:
- uses: linkerd/dev/actions/setup-tools@v41
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
- run: just-dev pull-dev-image