diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index eaa848deb..99e0064f6 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -44,18 +44,14 @@ jobs: - name: Run dotnet restore run: dotnet restore - - name: Dependencies update check - id: dependencies + - name: Get all changed files + id: changedFiles run: | - current_commit=`git log -n 1 --pretty=format:%H` - echo $current_commit - last_deps_mod_commit=`git log -n 1 --pretty=format:%H -- composer.json` - echo $last_deps_mod_commit - if [ $current_commit == $last_deps_mod_commit ]; then echo USE_LOCK=0 > ci.conf; else echo USE_LOCK=1 > ci.conf; fi + echo "CHANGED_FILES=$(git diff --name-only origin/master...$GITHUB_SHA)" >> $GITHUB_OUTPUT - name: List all changed files env: - ALL_CHANGED_FILES: ${{ steps.dependencies.outputs.current_commit }} + ALL_CHANGED_FILES: ${{ steps.changedFiles.outputs.current_commit }} run: | for file in ${ALL_CHANGED_FILES}; do echo "$file was changed" diff --git a/Snowflake.Data/Core/LinterTestFile.cs b/Snowflake.Data/Core/LinterTestFile.cs index 07783a477..0484e729c 100755 --- a/Snowflake.Data/Core/LinterTestFile.cs +++ b/Snowflake.Data/Core/LinterTestFile.cs @@ -46,8 +46,4 @@ public void something() PRIVATEVSAR = 2; } } - public interface badInterface - { - void methodwithnocaps(); - } } diff --git a/Snowflake.Data/Core/badInterface.cs b/Snowflake.Data/Core/badInterface.cs index f0f94836b..e66c55fad 100644 --- a/Snowflake.Data/Core/badInterface.cs +++ b/Snowflake.Data/Core/badInterface.cs @@ -5,6 +5,6 @@ public interface badInterface void methodwithnocaps(); void - reallyunnecessarylkongandaijhafkjdhafkjlahsdkjgfhasdjkghkjasdfghkjadshgkjdshgkjasdhgkjdsdhjkhdhhjadhjkfhdkjafhkjdshfkjasdhfkjasdhfkdhafahskljf(int); + reallyunnecessarylkongandaijhafkjdhafkjlahsdkjgfhasdjkghkjasdfghkjadshgkjdshgkjasdhgkjdsdhjkhdhhjadhjkfhdkjafhkjdshfkjasdhfkjasdhfkdhafahskljf(int algo); } }