1
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2025-04-23 13:06:17 +02:00

Update workflows to use reusable-workflows (#1066)

* Update workflows to use reusable-workflows

Signed-off-by: jongwooo <jongwooo.han@gmail.com>

* fix: Update the out-of-date metadata files

Signed-off-by: jongwooo <jongwooo.han@gmail.com>

Signed-off-by: jongwooo <jongwooo.han@gmail.com>
Co-authored-by: Shubham Tiwari <64764738+tiwarishub@users.noreply.github.com>
This commit is contained in:
Jongwoo Han 2023-01-17 20:57:27 +09:00 committed by GitHub
parent 22cbf49050
commit 4791017169
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 12 additions and 54 deletions

View file

@ -7,18 +7,9 @@ on:
pull_request:
branches:
- main
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
name: Check licenses
steps:
- uses: actions/checkout@v3
- run: npm ci
- name: Install licensed
run: |
cd $RUNNER_TEMP
curl -Lfs -o licensed.tar.gz https://github.com/github/licensed/releases/download/2.12.2/licensed-2.12.2-linux-x64.tar.gz
sudo tar -xzf licensed.tar.gz
sudo mv licensed /usr/local/bin/licensed
- run: licensed status
call-licensed:
name: Licensed
uses: actions/reusable-workflows/.github/workflows/licensed.yml@main