mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-10-21 20:08:54 +00:00
As part of archiving the tests repo, we are eliminating the dependency on `clone_tests_repo()`. The scripts using the function is as follows: - `ci/install_rust.sh`. - `ci/setup.sh` - `ci/lib.sh` This commit removes or replaces the files, and makes an adjustment accordingly. Signed-off-by: Hyounggyu Choi <Hyounggyu.Choi@ibm.com>
33 lines
890 B
YAML
33 lines
890 B
YAML
on:
|
|
schedule:
|
|
- cron: '0 23 * * 0'
|
|
|
|
name: Docs URL Alive Check
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-20.04
|
|
# don't run this action on forks
|
|
if: github.repository_owner == 'kata-containers'
|
|
env:
|
|
target_branch: ${{ github.base_ref }}
|
|
steps:
|
|
- name: Install Go
|
|
uses: actions/setup-go@v2
|
|
with:
|
|
go-version: 1.22.2
|
|
env:
|
|
GOPATH: ${{ runner.workspace }}/kata-containers
|
|
- name: Set env
|
|
run: |
|
|
echo "GOPATH=${{ github.workspace }}" >> $GITHUB_ENV
|
|
echo "${{ github.workspace }}/bin" >> $GITHUB_PATH
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
path: ./src/github.com/${{ github.repository }}
|
|
# docs url alive check
|
|
- name: Docs URL Alive Check
|
|
run: |
|
|
cd ${GOPATH}/src/github.com/${{ github.repository }} && make docs-url-alive-check
|