Update actions/checkout action to v4 (#5) #77
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: tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: | |
make test | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
# This fetches all branches and tags, which helps us lint that we're using the current version | |
# in our examples. | |
fetch-depth: 0 | |
- run: | |
make lint | |
shellcheck: | |
name: Shellcheck | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run ShellCheck | |
uses: ludeeus/action-shellcheck@master | |
env: | |
SHELLCHECK_OPTS: -x | |
renovate-config: | |
name: Validate Renovate config | |
runs-on: ubuntu-latest | |
env: | |
RENOVATE_CONFIG_FILE: renovate.json | |
steps: | |
- uses: actions/checkout@v4 | |
- name: testing Renovate config | |
run: npx -p renovate renovate-config-validator |