Skip to content

Commit c7a125d

Browse files
committed
Add test changed_files
fix
1 parent 1d7b9d8 commit c7a125d

File tree

2 files changed

+26
-2
lines changed

2 files changed

+26
-2
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: CI/CD Test
2+
3+
on:
4+
pull_request:
5+
branches: [main]
6+
types: [synchronize, opened, reopened, ready_for_review]
7+
8+
jobs:
9+
test:
10+
name: Test changed-files
11+
runs-on: "ubuntu-latest"
12+
steps:
13+
- name: Checkount
14+
uses: actions/checkout@v3
15+
16+
- name: Get changed files
17+
id: changed-files
18+
uses: tj-actions/changed-files@v23
19+
20+
- name: List all changed files
21+
run: |
22+
for file in ${{ steps.changed-files.outputs.all_changed_files }}; do
23+
echo "$file was changed"
24+
done

.github/workflows/test_containers_singularity.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: "ubuntu-latest"
1010
steps:
1111
- name: Checkout
12-
uses: actions/checkout@v2
12+
uses: actions/checkout@v3
1313

1414
- name: Build Tridesclous Docker image
1515
run: |
@@ -36,7 +36,7 @@ jobs:
3636
# "macos-latest", "windows-latest"
3737
os: ["ubuntu-latest", ]
3838
steps:
39-
- uses: actions/checkout@v2
39+
- uses: actions/checkout@v3
4040
with:
4141
python-version: 3.8
4242
- uses: eWaterCycle/setup-singularity@v7

0 commit comments

Comments
 (0)