Skip to content

Bump eslint from 8.54.0 to 8.55.0 #106

Bump eslint from 8.54.0 to 8.55.0

Bump eslint from 8.54.0 to 8.55.0 #106

name: CI Test - override input
on:
push:
branches:
- main
pull_request:
# The branches below must be a subset of the branches above
branches:
- main
schedule:
# Every Monday at midnight: https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule
- cron: "0 0 * * 1"
permissions:
contents: read
concurrency:
# Cancel old actions upon push
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
install_on_runner:
name: Override (runner)
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
- macOS-latest
- windows-latest
toolchain:
- 1.70.0
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use myself
id: toolchain
uses: ./
with:
toolchain: ${{ matrix.toolchain }}
profile: minimal
override: true
- name: Test override
run: |
test $(rustup override list | grep "${{ matrix.toolchain }}" | wc -l) -eq 1
install_in_docker:
name: Override (docker)
runs-on: ubuntu-latest
strategy:
matrix:
toolchain:
- 1.70.0
# 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
id: toolchain
uses: ./
with:
toolchain: ${{ matrix.toolchain }}
profile: minimal
override: true
- name: Test override
run: |
test $(rustup override list | grep "${{ matrix.toolchain }}" | wc -l) -eq 1