Skip to content

Solution Wiper

Actions
Removes all solutions from exercises, solutions start with a comment Write your code here and end with the end of the scope
v1.1.4
Latest
Star (0)

Tags

 (1)

SW action

This action can be used to set up SW on your GitHub action CD pipelines.

By default, the action will check your code with the same defaults as SW. You can pass specific configuration directly to SW from the action parameters.

v1.1.4

Use this action in your repository

You need to set up a workflow that :

  1. Check out the code of your repository.
  2. Run the SW-action to wipe the solutions.
  3. Copy the wiped files to a new repository or branch.
  4. Commit the changes to the new repository or branch.
  5. Make a pull request to the corresponding repository to propose the new wiped exercises.

Example action

  • Here's a simple example of a workflow that uses the SW-action to wipe the solutions of some exercises and commit the changes to another repository,
  • Here's another example wich uses a .exerciseignore to specify wich files shouldn't be copied to the new repository.

Inputs

Name Description Required Default
path The path to the directory containing the code to wipe false .
lang The languages of the code you want to wipe, separated by a comma and without spaces false rs,js,ts,java

Outputs

This action output the path to every file that has been wiped.

Solution Wiper is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Removes all solutions from exercises, solutions start with a comment Write your code here and end with the end of the scope
v1.1.4
Latest

Tags

 (1)

Solution Wiper is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.