Skip to content
This repository was archived by the owner on Dec 26, 2023. It is now read-only.

Commit c82e30f

Browse files
authored
chore update bats-detik to 1.2.1 and bats-file to 0.4.0 (#17)
* chore update detik and file * fix file permission
1 parent f74bdb7 commit c82e30f

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Checkout
2323
uses: actions/checkout@v2
2424
- name: Setup Bats and bats libs
25-
uses: brokenpip3/setup-bats-libs@1.0.0
25+
uses: brokenpip3/setup-bats-libs@1.5.2
2626
```
2727
2828
## Libraries Path
@@ -59,11 +59,11 @@ The caching mechanism for the `bats binary` is always available. However, the ca
5959
| assert-path | `/usr/lib/bats-assert` | false | Bats-assert path |
6060
| assert-clean | `true` | false | Bats-assert: clean temp files |
6161
| detik-install | `true` | false | Bats-detik installation |
62-
| detik-version | `1.2.0` | false | Bats-detik version |
62+
| detik-version | `1.2.1` | false | Bats-detik version |
6363
| detik-path | `/usr/lib/bats-detik` | false | Bats-detik path |
6464
| detik-clean | `true` | false | Bats-detik: clean temp files |
6565
| file-install | `true` | false | Bats-file installation |
66-
| file-version | `0.3.0` | false | Bats-file version |
66+
| file-version | `0.4.0` | false | Bats-file version |
6767
| file-path | `/usr/lib/bats-file` | false | Bats-file path |
6868
| file-clean | `true` | false | Bats-file: clean temp files |
6969

action.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ inputs:
5555
detik-version:
5656
description: "Bats-detik version, default to latest"
5757
required: false
58-
default: "1.2.0"
58+
default: "1.2.1"
5959
detik-path:
6060
description: "Bats-detik path, default to /usr/lib/bats-detik"
6161
required: false
@@ -72,7 +72,7 @@ inputs:
7272
file-version:
7373
description: "Bats-file version, default to latest"
7474
required: false
75-
default: "0.3.0"
75+
default: "0.4.0"
7676
file-path:
7777
description: "Bats-file path, default to /usr/lib/bats-file"
7878
required: false

tests/1-example-tests.bats

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ setup() {
2323
run stat -c "%a" testing/example
2424
assert_success
2525
assert_output 644
26-
assert_file_permission 644 /path/to/permission
26+
assert_file_permission 644 testing/example
2727
assert_success
2828
}
2929

0 commit comments

Comments
 (0)