Skip to content

Commit

Permalink
GitHubCI: use verbose flags
Browse files Browse the repository at this point in the history
  • Loading branch information
tehraninasab committed Mar 23, 2023
1 parent 57f6638 commit 6d80d91
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ jobs:
- name: Install required dependencies
run: |
apt update
apt install -y sudo
sudo apt install -y git
apt install --yes sudo
sudo apt install --yes git
# workaround for https://github.com/actions/runner/issues/2033
- name: ownership workaround
run: git config --global --add safe.directory '*'
- name: Install dotnet sdk
run: sudo apt install -y dotnet6
run: sudo apt install --yes dotnet6
- name: Compile the conventions solution
run: dotnet build --configuration Release conventions.sln
- name: Compile F# scripts
Expand All @@ -45,7 +45,7 @@ jobs:
sudo apt install --yes curl
- name: Setup .NET
run: apt install -y dotnet6
run: apt install --yes dotnet6
- name: Run tests to validate F# scripts
run: dotnet test src/FileConventions.Test/FileConventions.Test.fsproj

Expand Down Expand Up @@ -151,7 +151,7 @@ jobs:
- name: Change file permissions
# We need this step so we can change the files using `npx prettier --write` in the next step.
# Otherwise we get permission denied error in the CI.
run: sudo chmod 777 -R .
run: sudo chmod 777 --recursive .
- name: Run "prettier" to check the style of our TypeScript code
run: |
sudo npx prettier --quote-props=consistent --write './**/*.ts'
Expand Down

0 comments on commit 6d80d91

Please sign in to comment.