Compare commits

...
Author SHA1 Message Date
dzu
9009a3acda lock cache action revision
All checks were successful
Build and upload the container / build-and-upload (push) Successful in 32m2s
2026-02-21 11:19:58 +00:00
dzu
982be23f1d ench(action): safer bash options 2026-02-21 09:18:14 +00:00
dzu
4c71c49edc add .dockerignore 2026-02-21 09:17:16 +00:00
3 changed files with 7 additions and 2 deletions

3
.dockerignore Normal file
View file

@ -0,0 +1,3 @@
.forgejo/
action.yml
main.sh

View file

@ -9,7 +9,7 @@ runs:
using: composite using: composite
steps: steps:
- name: Load the database from cache - name: Load the database from cache
uses: https://git.dzuchun.ing/actions/cache-load@main uses: https://git.dzuchun.ing/actions/cache-load@v1
with: with:
path: ${{ forgejo.action_path }}/database path: ${{ forgejo.action_path }}/database
key: cargo-audit-database key: cargo-audit-database
@ -18,7 +18,7 @@ runs:
env: env:
DATABASE_PATH: ${{ forgejo.action_path }}/database DATABASE_PATH: ${{ forgejo.action_path }}/database
- name: Save the database to cache - name: Save the database to cache
uses: https://git.dzuchun.ing/actions/cache-save@main uses: https://git.dzuchun.ing/actions/cache-save@v1
with: with:
path: ${{ forgejo.action_path }}/database path: ${{ forgejo.action_path }}/database
key: cargo-audit-database key: cargo-audit-database

View file

@ -1,5 +1,7 @@
#!/bin/sh #!/bin/sh
set -eu
LOCK=$(printenv INPUT_LOCK-PATH) LOCK=$(printenv INPUT_LOCK-PATH)
ARGS='' ARGS=''