Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

feat: update cache from actions #14

feat: update cache from actions

feat: update cache from actions #14

Workflow file for this run

name: Logging Mutants
# only run on push in order to update the cache output
# flow:
# restore cache
# install cargo-mutants crate in order to run the 'cargo mutants' command
# create a file with the current commit hash if a previous one doesn't exist, then print it
# run the script that handles the 'cargo mutants' command on the differences between the latest updates and the last commit where it was ran
# overwrite the previous commit hash with the current one for the following run
# delete the old cache
# save the new cache with the updated mutants
on:
push:
branches:
- master
- develop
- next
- deployer/testing-shell-script
- deployer/migrate-ci
jobs:
save_cache:
runs-on: ubuntu-latest
steps:
- name: Run logging mutants from actions
uses: ASuciuX/actions/mutation-testing/logger@feat/mutation-testing
with:
gh-token: ${{ secrets.GITHUB_TOKEN }}