Skip to content

Commit

Permalink
Fix workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
LeChatP committed Sep 9, 2024
1 parent 5023d94 commit 3f19689
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
session requisite pam_permit.so
session required pam_permit.so" | tee /etc/pam.d/sr'
- name: Install RootAsRole
run: sudo cargo xtask install -bia
run: sudo -E cargo xtask install -bia
- name: Add read access on config on rootasrole... Because Github Actions...
run: sudo chmod a+r /etc/security/rootasrole.json
- name: print config
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ jobs:
components: clippy
override: false

- name: Install Dependencies
run: sudo -E cargo xtask dependencies -di

# if pull request review only
- uses: mbrobbel/rustfmt-check@master
with:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ jobs:

- name: Install sudo
run: apt install sudo -y

- name: Install Dependencies
run: sudo -E cargo xtask dependencies -di

- name: run tests with coverage
run: cargo +nightly tarpaulin --verbose --all-features --workspace --timeout 120 --bin chsr --bin sr --exclude-files build.rs xtask* --out Xml
Expand Down

0 comments on commit 3f19689

Please sign in to comment.