Remove the use of go.uber.org/zap in entrypoint's dependent packages and uses log/slog #2296
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: 'woke' | |
permissions: | |
contents: read | |
on: | |
- pull_request | |
jobs: | |
woke: | |
name: 'woke' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@cb605e52c26070c328afc4562f0b4ada7618a84e # v2.10.4 | |
with: | |
egress-policy: audit | |
- name: 'Checkout' | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Get changed files | |
id: changed-files | |
uses: tj-actions/changed-files@d6e91a2266cdb9d62096cebf1e8546899c6aa18f # v45.0.6 | |
with: | |
write_output_files: true | |
files: | | |
** | |
- name: 'woke' | |
if: steps.changed-files.outputs.any_changed == 'true' | |
uses: get-woke/woke-action@b2ec032c4a2c912142b38a6a453ad62017813ed0 # v0 | |
with: | |
# Cause the check to fail on any broke rules | |
fail-on-error: true | |
woke-args: ${{ steps.changed_files.outputs.all_changed_files }} |