This repository has been archived by the owner on Oct 28, 2024. It is now read-only.
chore(deps): bump the github-actions group across 4 directories with 4 updates #1123
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
## Test custom actions in .github/actions/ | |
name: actions-test | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- '.github/actions/**' | |
pull_request: | |
branches: | |
- main | |
paths: | |
- '.github/actions/**' | |
permissions: | |
contents: read | |
jobs: | |
docker-layer-caching: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/docker-layer-caching | |
with: | |
key: custom-docker-cache-key-${{ github.workflow }}-{hash} | |
restore-keys: | | |
custom-docker-cache-key-${{ github.workflow }}- | |
# Random Dockerfile from .ci/docker | |
- run: docker build -t yamllint -f .ci/docker/yamllint/Dockerfile . | |
setup-git-with-token: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/setup-git | |
with: | |
token: ${{ github.token }} | |
- name: Check GIT_USER | |
run: test "$GIT_USER" = "obltmachine" | |
- name: Check GIT_EMAIL | |
run: test "$GIT_EMAIL" = "[email protected]" | |
setup-git-without-token: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/setup-git | |
- name: Check GIT_USER | |
run: test "$GIT_USER" = "obltmachine" | |
- name: Check GIT_EMAIL | |
run: test "$GIT_EMAIL" = "[email protected]" | |
combined-status: | |
if: always() | |
runs-on: ubuntu-latest | |
needs: | |
- docker-layer-caching | |
- setup-git-with-token | |
- setup-git-without-token | |
steps: | |
- uses: actions/checkout@v4 | |
- id: check | |
uses: ./.github/actions/check-dependent-jobs | |
with: | |
needs: ${{ toJSON(needs) }} | |
- run: ${{ steps.check.outputs.isSuccess }} |