This repository has been archived by the owner on Oct 3, 2024. It is now read-only.
chore(deps): update github artifact actions to v4 (major) #578
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: Validate Lint | |
on: pull_request | |
permissions: | |
contents: read | |
jobs: | |
validate: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Setup NodeJS | |
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0 | |
with: | |
node-version: 20 | |
cache: "npm" | |
cache-dependency-path: "package-lock.json" | |
- name: Install Node dependencies | |
run: npm ci | |
- name: Validate formatting of all typescript code in the repository | |
run: make lint-ts | |
- name: Run Revive Action by pulling pre-built image | |
uses: docker://morphy/revive-action:v2 | |
with: | |
config: revive.toml |