Upgrade actions/checkout from v3.* to v4.* #8
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: echo-eval CI | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
documentation: | |
name: Attach Documentation | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
submodules: 'false' | |
- name: Attach Documentation | |
run: cat .github/workflows/README.md >> $GITHUB_STEP_SUMMARY | |
build: | |
name: Lint and Test echo-eval | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v4 | |
- name: Install Dependencies | |
run: .github/workflows/deps.sh | |
- name: Init | |
run: bpkg install --dev | |
- name: Lint | |
run: bpkg run lint | |
- name: Test | |
run: bpkg run test |