Skip to content

Commit bddc572

Browse files
authored
Create test-devbox.yml
1 parent 1af27bc commit bddc572

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.github/workflows/test-devbox.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Test devbox
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
test-devbox:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout repository
11+
uses: actions/checkout@v3
12+
13+
- name: Setup environment
14+
uses: gbraad-dotfiles/install-action@main
15+
with:
16+
sudo-change-shell: true
17+
18+
- name: Run devbox command - os-release
19+
id: devenv
20+
uses: gbraad-dotfiles/devbox-action@main
21+
with:
22+
prefix: fedora
23+
command: exec
24+
args: cat /etc/os-release
25+
26+
- name: Run devbox command - systemctl
27+
uses: gbraad-dotfiles/devbox-action@main
28+
with:
29+
prefix: ${{ steps.devenv.outputs.prefix }}
30+
command: exec
31+
args: systemctl status --no-pager
32+
33+
- name: Run devenv command - stop
34+
uses: gbraad-dotfiles/devbox-action@main
35+
with:
36+
prefix: ${{ steps.devenv.outputs.prefix }}
37+
command: stop

0 commit comments

Comments
 (0)