Skip to content

Update all of typescript-eslint 8.18.0 → 8.18.1 (patch) #656

Update all of typescript-eslint 8.18.0 → 8.18.1 (patch)

Update all of typescript-eslint 8.18.0 → 8.18.1 (patch) #656

name: CI Test - targets 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: Targets (runner)
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
- macOS-latest
- windows-latest
# Test with multiple spacing
targets:
- wasm32-unknown-unknown, arm-linux-androideabi, i686-pc-windows-msvc
- wasm32-unknown-unknown,arm-linux-androideabi,i686-pc-windows-msvc
- wasm32-unknown-unknown,arm-linux-androideabi, i686-pc-windows-msvc
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use myself
uses: ./
with:
toolchain: nightly
profile: minimal
override: true
targets: ${{ matrix.targets }}
- name: Test ${{ matrix.target }} exists
# We check for 4 as we expect the target for the current runner + 3
# from the target from the matrix
run: test $(rustup target list | grep -c installed) -eq 4
install_in_docker:
name: Targets (docker)
runs-on: ubuntu-latest
strategy:
matrix:
# Test with multiple spacing
targets:
- wasm32-unknown-unknown, arm-linux-androideabi, i686-pc-windows-msvc
- wasm32-unknown-unknown,arm-linux-androideabi,i686-pc-windows-msvc
- wasm32-unknown-unknown,arm-linux-androideabi, i686-pc-windows-msvc
# 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
targets: ${{ matrix.targets }}
- name: Test ${{ matrix.target }} exists
# We check for 4 as we expect the target for the current runner + 3
# from the target from the matrix
run: test $(rustup target list | grep -c installed) -eq 4