Bump step-security/harden-runner from 2.15.0 to 2.15.1 #51
This file contains hidden or 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: examples | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - '.github/workflows/examples.yml' | |
| - 'examples/**' | |
| - '!**/*.md' | |
| pull_request: | |
| paths: | |
| - '.github/workflows/examples.yml' | |
| - 'examples/**' | |
| - '!**/*.md' | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| tests: | |
| if: | | |
| ${{ github.event_name == 'pull_request' }} | |
| timeout-minutes: 15 | |
| runs-on: ubuntu-latest | |
| name: 'Test examples' | |
| steps: | |
| - name: Harden the runner (Audit all outbound calls) | |
| uses: step-security/harden-runner@58077d3c7e43986b6b15fba718e8ea69e387dfcc # v2.15.1 | |
| with: | |
| egress-policy: audit | |
| - name: Checkout csolution-rpc repository | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0 | |
| with: | |
| node-version: 'lts/*' | |
| - name: Install dependencies | |
| run: npm ci | |
| working-directory: examples/vscode-extension-client | |
| - name: Run linter | |
| run: npm run lint | |
| working-directory: examples/vscode-extension-client |