forked from uutils/coreutils
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (29 loc) · 848 Bytes
/
devcontainer.yml
File metadata and controls
34 lines (29 loc) · 848 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Devcontainer
# spell-checker:ignore devcontainers nextest
on:
pull_request:
push:
branches:
- '*'
permissions:
contents: read # to fetch code (actions/checkout)
# End the current execution if there is a new changeset in the PR.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
test:
name: Verify devcontainer
runs-on: ubuntu-latest
timeout-minutes: 45
steps:
- uses: actions/checkout@v6
with:
persist-credentials: false
- name: Run test in devcontainer
uses: devcontainers/ci@v0.3
with:
push: never
runCmd: |
curl -LsSf https://get.nexte.st/latest/linux | tar zxf - -C ${CARGO_HOME:-~/.cargo}/bin
cargo nextest run --hide-progress-bar --profile ci