name: Actions

on:
  pull_request:
    paths:
      - .devcontainer/devcontainer.json
      - .github/workflows/**

permissions:
  contents: read

jobs:
  actionlint:
    runs-on: ${{ vars.LINKERD2_RUNNER || 'ubuntu-24.04' }}
    timeout-minutes: 10
    steps:
      - uses: linkerd/dev/actions/setup-tools@v47
      - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
      - run: just-dev lint-actions

  devcontainer-versions:
    runs-on: ${{ vars.LINKERD2_RUNNER || 'ubuntu-24.04' }}
    steps:
      - uses: linkerd/dev/actions/setup-tools@v47
      - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
      - run: just-dev check-action-images
