Skip to content

Update dependency @actions/core to v1.10.1 #333

Update dependency @actions/core to v1.10.1

Update dependency @actions/core to v1.10.1 #333

Workflow file for this run

---
name: Action
"on":
push:
jobs:
# The repository contains the action itself in the dist/ directory. Whenever
# code is pushed to the repository, we need to make sure that the action has
# been rebuilt and is up-to-date.
lint:
name: Lint code
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node
uses: actions/[email protected]
with:
cache: npm
node-version: 16
- name: Install dependencies
run: npm install
- name: Build action
run: npm run package
- name: Compare committed action with build result
run: |
if [ "$(git diff --ignore-space-at-eol dist/ | wc -l)" -gt "0" ]; then
echo "Detected uncommitted changes after build. See diff below:"
git diff
exit 1
fi
test:
name: Run tests
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- macos-latest
- ubuntu-latest
- windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run action
uses: ./
- name: Run butler
run: butler -V