diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 063492033..797ad490c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,6 +8,21 @@ on: jobs: + cloc: + runs-on: ubuntu-latest + + steps: + - name: Checkout repo + uses: actions/checkout@v2 + + - name: Set up cloc + run: | + sudo apt-get update + sudo apt-get -y install cloc + + - name: Print lines of code + run: cloc --vcs git --exclude-dir Resources,store,test,Properties --include-lang C#,XAML + android: runs-on: windows-latest @@ -29,11 +44,6 @@ jobs: - name: Checkout repo uses: actions/checkout@v2 - - name: Print lines of code - run: | - choco install cloc --no-progress - cloc --vcs git --exclude-dir Resources,store,test,Properties --include-lang C#,XAML - - name: Decrypt secrets if: github.ref == 'refs/heads/master' run: ./.github/scripts/android/decrypt-secrets.ps1