Fix/fork chores #16
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI Test - components | |
on: | |
- pull_request | |
jobs: | |
install_on_runner: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: | |
- ubuntu-latest | |
- macOS-latest | |
- windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Use myself | |
uses: ./ | |
with: | |
toolchain: nightly | |
profile: minimal | |
override: true | |
# Clippy is not included in minimal, so this would force to get clippy as well | |
components: clippy | |
- name: Test clippy exists | |
run: cargo clippy -V | |
install_in_docker: | |
runs-on: ubuntu-latest | |
# Docker image, not the GitHub Actions VM | |
container: ubuntu:latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
# `rustup` will need `curl` or `wget` later | |
- name: Install packages | |
run: apt-get update && apt-get install -y curl | |
- name: Use myself | |
uses: ./ | |
with: | |
toolchain: nightly | |
profile: minimal | |
override: true | |
# Clippy is not included in minimal, so this would force to get clippy | |
# and miri as well | |
components: clippy, miri | |
- name: Test clippy exists | |
run: cargo clippy -V | |
- name: Test rls exists | |
run: cargo miri -V |