build(deps): bump codecov/codecov-action from 4.5.0 to 5.0.2 in /.github/workflows #344
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
name: DevContainer | |
on: | |
schedule: | |
- cron: '0 0 * * 0' | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
name: Build and cache devcontainer image | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repo | |
uses: actions/checkout@v4 | |
- name: Login to GHCR | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Prepare Env | |
id: prepare | |
run: | | |
([[ ${{ github.event_name == 'pull_request' }} == true ]] && echo "push=never" || echo "push=always" ) >> $GITHUB_OUTPUT | |
- name: Pre-build dev container image | |
uses: devcontainers/[email protected] | |
with: | |
imageName: ghcr.io/nodlecode/devcontainer-chain | |
cacheFrom: ghcr.io/nodlecode/devcontainer-chain | |
push: ${{ steps.prepare.outputs.push }} |