From 378b7f3ae3aab1469ef8f4d139c65d9236a67ea3 Mon Sep 17 00:00:00 2001 From: Konstantin Astakhov Date: Wed, 07 Dec 2022 17:52:59 +0000 Subject: [PATCH] add clean workspace for codestyle workflow --- --- a/.github/workflows/codestyle.yml +++ b/.github/workflows/codestyle.yml @@ -11,7 +11,11 @@ rustfmt: runs-on: [ self-hosted-ci ] steps: + - name: Clean Workspace + uses: AutoModality/action-clean@v1.1.0 - uses: actions/checkout@v3 + with: + ref: ${{ github.head_ref }} - name: Install latest nightly uses: actions-rs/toolchain@v1 with: @@ -28,7 +32,11 @@ yarn_eslint: runs-on: [ self-hosted-ci ] steps: + - name: Clean Workspace + uses: AutoModality/action-clean@v1.1.0 - uses: actions/checkout@v3 + with: + ref: ${{ github.head_ref }} - uses: actions/setup-node@v3 with: node-version: 16 -- gitstuff