/
githubmirror
/
code-server
Обзор
Документация
Войти
/
githubmirror
/
code-server
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
.github/workflows/scripts.yaml
67 строк
2 KB
dependabot[bot]
chore: bump actions/checkout from 6.0.3 to 7.0.1 (#7874)
21 июл 2026, 22:18
Не верифицирован
21 июл 2026, 22:18
1dabd15
Код
Авторство
О чём код?
name: Script unit tests on: push: branches: - main paths: - "**.sh" - "**.bats" pull_request: branches: - main paths: - "**.sh" - "**.bats" permissions: actions: none checks: none contents: read deployments: none issues: none packages: none pull-requests: none repository-projects: none security-events: none statuses: none # Cancel in-progress runs for pull requests when developers push # additional changes, and serialize builds in branches. # https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-concurrency-to-cancel-any-in-progress-job-or-run concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: ${{ github.event_name == 'pull_request' }} jobs: test: name: Run script unit tests runs-on: ubuntu-latest # This runs on Alpine to make sure we're testing with actual sh. container: "alpine:3.17" steps: - name: Checkout repo uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v6 - name: Install test utilities run: apk add bats checkbashisms - name: Check Bashisms run: checkbashisms ./install.sh - name: Run script unit tests run: ./ci/dev/test-scripts.sh lint: name: Lint shell files runs-on: ubuntu-latest timeout-minutes: 5 steps: - name: Checkout repo uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v6 - name: Install lint utilities run: sudo apt install shellcheck - name: Lint shell files run: ./ci/dev/lint-scripts.sh