Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/package-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ jobs:
push-changes:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v6
with:
ssh-key: "${{ secrets.COMMIT_KEY }}"
- uses: actions/setup-node@v3
- uses: actions/setup-node@v6
with:
node-version: 16
node-version-file: "package.json"
- name: Install Javascript dependencies with npm
run: npm install
- name: Package action for distribution
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sync-release-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
update-branch:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v6
with:
ref: "release"
fetch-depth: 0
Expand Down
48 changes: 24 additions & 24 deletions .github/workflows/tests-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@ jobs:
upload-dist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: 16
node-version-file: "package.json"
- name: Install Javascript dependencies with npm
if: ${{ github.ref != 'refs/heads/release' }}
run: npm install
- name: Package action for integration tests
if: ${{ github.ref != 'refs/heads/release' }}
run: npm run package
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v7
with:
name: dist
path: ${{ env.dist-path }}
Expand All @@ -31,8 +31,8 @@ jobs:
needs:
- upload-dist
steps:
- uses: actions/checkout@v2
- uses: actions/download-artifact@v2
- uses: actions/checkout@v6
- uses: actions/download-artifact@v8
with:
name: dist
path: ${{ env.dist-path }}
Expand Down Expand Up @@ -64,8 +64,8 @@ jobs:
needs:
- upload-dist
steps:
- uses: actions/checkout@v2
- uses: actions/download-artifact@v2
- uses: actions/checkout@v6
- uses: actions/download-artifact@v8
with:
name: dist
path: ${{ env.dist-path }}
Expand All @@ -80,8 +80,8 @@ jobs:
needs:
- upload-dist
steps:
- uses: actions/checkout@v2
- uses: actions/download-artifact@v2
- uses: actions/checkout@v6
- uses: actions/download-artifact@v8
with:
name: dist
path: ${{ env.dist-path }}
Expand Down Expand Up @@ -113,8 +113,8 @@ jobs:
needs:
- upload-dist
steps:
- uses: actions/checkout@v2
- uses: actions/download-artifact@v2
- uses: actions/checkout@v6
- uses: actions/download-artifact@v8
with:
name: dist
path: ${{ env.dist-path }}
Expand All @@ -129,8 +129,8 @@ jobs:
needs:
- upload-dist
steps:
- uses: actions/checkout@v2
- uses: actions/download-artifact@v2
- uses: actions/checkout@v6
- uses: actions/download-artifact@v8
with:
name: dist
path: ${{ env.dist-path }}
Expand All @@ -154,8 +154,8 @@ jobs:
needs:
- upload-dist
steps:
- uses: actions/checkout@v2
- uses: actions/download-artifact@v2
- uses: actions/checkout@v6
- uses: actions/download-artifact@v8
with:
name: dist
path: ${{ env.dist-path }}
Expand Down Expand Up @@ -205,8 +205,8 @@ jobs:
needs:
- upload-dist
steps:
- uses: actions/checkout@v2
- uses: actions/download-artifact@v2
- uses: actions/checkout@v6
- uses: actions/download-artifact@v8
with:
name: dist
path: ${{ env.dist-path }}
Expand Down Expand Up @@ -263,8 +263,8 @@ jobs:
needs:
- upload-dist
steps:
- uses: actions/checkout@v2
- uses: actions/download-artifact@v2
- uses: actions/checkout@v6
- uses: actions/download-artifact@v8
with:
name: dist
path: ${{ env.dist-path }}
Expand Down Expand Up @@ -325,8 +325,8 @@ jobs:
needs:
- upload-dist
steps:
- uses: actions/checkout@v2
- uses: actions/download-artifact@v2
- uses: actions/checkout@v6
- uses: actions/download-artifact@v8
with:
name: dist
path: ${{ env.dist-path }}
Expand Down Expand Up @@ -356,8 +356,8 @@ jobs:
needs:
- upload-dist
steps:
- uses: actions/checkout@v2
- uses: actions/download-artifact@v2
- uses: actions/checkout@v6
- uses: actions/download-artifact@v8
with:
name: dist
path: ${{ env.dist-path }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests-unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ jobs:
unit-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v6
- run: npm install
- run: npm run test
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2021 > LIMITED and contributors
Copyright (c) 2026 shr.ink OÜ and contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Test actor is @shrink
uses: prompt/actions-assert@v4
uses: prompt/actions-assert@v5
with:
assertion: npm://@assertions/is-equal:v1
actual: "${{ github.actor }}"
Expand Down Expand Up @@ -148,7 +148,7 @@ jobs:
major: true
minor: false
- name: Assert alias is prefixed
uses: prompt/actions-assert@v4
uses: prompt/actions-assert@v5
with:
assertion: npm://@assertions/starts-with:v1
each: true
Expand Down Expand Up @@ -178,7 +178,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: prompt/actions-assert@v4
- uses: prompt/actions-assert@v5
with:
assertion: npm://@assertions/directory-exists:v1
expected: dist
Expand All @@ -195,8 +195,8 @@ tag. Any reference to this Action in a Workflow must use a [tag][tags] (mutable)
or the commit hash of a tag (immutable).

```yaml
✅ uses: prompt/actions-assert@v2
✅ uses: prompt/actions-assert@v2.0.0
✅ uses: prompt/actions-assert@v5
✅ uses: prompt/actions-assert@v5.0.0
✅ uses: prompt/actions-assert@0d888b7601af756fff1ffc9d0d0dca8fcc214f0a
❌ uses: prompt/actions-assert@main
```
Expand Down
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ branding:
icon: "target"
color: "green"
description: "Write tests in GitHub Workflows for integration tests and build pipelines"
author: "Samuel Ryan <sam@samryan.co.uk>"
author: "Samuel Ryan <sam@shr.ink>"
inputs:
assertion:
description: "Name of the assertion to run against value"
Expand Down Expand Up @@ -49,5 +49,5 @@ outputs:
error:
description: "Error message (if any) that has been output to the log"
runs:
using: "node16"
using: "node24"
main: "dist/index.js"
37 changes: 26 additions & 11 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading