Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Commit ce6c3a6

Browse files
authored
haskell/actions/* actions are deprecated (#301)
The `haskell/actions/*` actions are deprecated. Use `haskell-actions/*` instead. Commits: * Deprecation warning for setup action * Proper deprecation warning for setup action * Turn off dependabot since repo is unmaintained * Deprecation warnings for `hlint-setup` and `hlint-run`
1 parent 0249dc7 commit ce6c3a6

File tree

7 files changed

+8472
-8314
lines changed

7 files changed

+8472
-8314
lines changed
File renamed without changes.

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,13 @@
22

33
A Collection of GitHub actions for interacting with Haskell.
44

5-
| Action |
6-
| ---------------------------------- |
7-
| [`haskell/actions/setup`](./setup) |
8-
| [`haskell/actions/hlint-setup`](./hlint-setup) |
9-
| [`haskell/actions/hlint-run`](./hlint-run) |
5+
**NOTE: This repository is winding down.**
6+
7+
| DEPRECATED action | Replaced by
8+
| ---------------------------------- | ---------------
9+
| [`haskell/actions/setup`](./setup) | [`haskell-actions/setup`](https://github.com/haskell-actions/setup)
10+
| [`haskell/actions/hlint-setup`](./hlint-setup) | [`haskell-actions/hlint-setup`](https://github.com/haskell-actions/hlint-setup)
11+
| [`haskell/actions/hlint-run`](./hlint-run) | [`haskell-actions/hlint-run`](https://github.com/haskell-actions/hlint-run)
1012
| |
1113

1214
See the individual action directory for details on usage and examples.

hlint-run/src/index.ts

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,36 @@ import run from './run';
55
import setOutputs from './outputs';
66

77
export default async function main() {
8+
core.warning(
9+
'As of 2023-09-30, haskell/action/hlint-run is no longer maintained, please switch to haskell-actions/hlint-run (note: dash for slash).'
10+
);
11+
core.info(
12+
`***************************************************************************`
13+
);
14+
core.info(
15+
`** **`
16+
);
17+
core.info(
18+
`** This action is DEPRECATED. **`
19+
);
20+
core.info(
21+
`** **`
22+
);
23+
core.info(
24+
`** Please use haskell-actions/hlint-run instead. **`
25+
);
26+
core.info(
27+
`** **`
28+
);
29+
core.info(
30+
`** (Note the dash instead of the slash.) **`
31+
);
32+
core.info(
33+
`** **`
34+
);
35+
core.info(
36+
`***************************************************************************`
37+
);
838
try {
939
const inputs = getInputs();
1040
const result = await core.group('hlint', () => run(inputs));

hlint-setup/src/index.ts

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,36 @@ const OUTPUT_KEY_HLINT_PATH = 'hlint-bin';
116116
const OUTPUT_KEY_HLINT_VERSION = 'version';
117117

118118
async function run() {
119+
core.warning(
120+
'As of 2023-09-30, haskell/action/hlint-setup is no longer maintained, please switch to haskell-actions/hlint-setup (note: dash for slash).'
121+
);
122+
core.info(
123+
`***************************************************************************`
124+
);
125+
core.info(
126+
`** **`
127+
);
128+
core.info(
129+
`** This action is DEPRECATED. **`
130+
);
131+
core.info(
132+
`** **`
133+
);
134+
core.info(
135+
`** Please use haskell-actions/hlint-setup instead. **`
136+
);
137+
core.info(
138+
`** **`
139+
);
140+
core.info(
141+
`** (Note the dash instead of the slash.) **`
142+
);
143+
core.info(
144+
`** **`
145+
);
146+
core.info(
147+
`***************************************************************************`
148+
);
119149
try {
120150
const hlintVersion = core.getInput(INPUT_KEY_HLINT_VERSION) || HLINT_DEFAULT_VERSION;
121151
const config = mkHlintReleaseConfig(process.platform, os.arch(), hlintVersion);

0 commit comments

Comments
 (0)