File tree Expand file tree Collapse file tree 5 files changed +15
-3
lines changed
Expand file tree Collapse file tree 5 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 5353 timeout-minutes : 90
5454 permissions :
5555 contents : write
56+
57+ env :
58+ SCCACHE_GHA_ENABLED : " true"
59+ RUSTC_WRAPPER : " sccache"
5660 steps :
5761 - uses : actions/checkout@v4
5862
7377 toolchain : nightly
7478 override : true
7579
80+ - name : Run sccache-cache
81+ uses : mozilla-actions/sccache-action@v0.0.5
82+
7683 - run : sudo apt install musl-tools
7784 if : startsWith(matrix.os, 'ubuntu')
7885
Original file line number Diff line number Diff line change @@ -3,9 +3,9 @@ name: Test
33on :
44 pull_request :
55 workflow_dispatch :
6- tag :
7- types :
8- - created
6+ push :
7+ tags :
8+ - " ** "
99
1010jobs :
1111 test :
Original file line number Diff line number Diff line change @@ -51,6 +51,7 @@ Type `git-se -h` and `git-se [subcommand] -h` to get more information.
5151- ` git add -A ` is automatically executed when encrypting, so make sure that ` .gitignore ` is handled properly.
5252- Do not add files with ` .zst ` , ` .enc ` suffixes and folders containing them to the encrypted list.
5353- To delete file/dir from encrypt list, edit ` git_simple_encrypt.toml ` .
54+ - encrypt/decrypt will keep the file metadata unchanged (unix permission and timestamp).
5455
5556## Algorithm
5657
Original file line number Diff line number Diff line change @@ -51,6 +51,7 @@ git-se d 'src/*' # 部分解密
5151- 加密时会自动执行 ` git add -A ` ,请确保已妥善处理 ` .gitignore ` 。
5252- 请不要将 ` .zst ` , ` .enc ` 后缀的文件以及包含它们的文件夹添加到加密列表中。
5353- 如果您需要从加密列表中删除文件(夹),请手动编辑 ` git_simple_encrypt.toml ` 。
54+ - 加密解密会保持文件元数据,例如权限和时间戳。
5455
5556## 原理
5657
Original file line number Diff line number Diff line change 1+ [toolchain ]
2+ channel = " nightly"
3+ components = [" rustfmt" , " clippy" , " rust-src" ]
You can’t perform that action at this time.
0 commit comments