Skip to content

Commit

Permalink
workflows: use cashapp/activate-hermit (cashapp#375)
Browse files Browse the repository at this point in the history
  • Loading branch information
quad authored May 9, 2023
1 parent 8f0f2f9 commit c146374
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2
- name: Init Hermit
run: ./bin/hermit env -r >> $GITHUB_ENV
uses: cashapp/activate-hermit@v1
- name: Test
run: go test ./...
lint:
Expand All @@ -26,7 +26,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2
- name: Init Hermit
run: ./bin/hermit env -r >> $GITHUB_ENV
uses: cashapp/activate-hermit@v1
- name: Shell check
run: ./bin/lint-shell-scripts
- name: golangci-lint
Expand All @@ -53,7 +53,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2
- name: Init Hermit
run: ./bin/hermit env -r >> $GITHUB_ENV
uses: cashapp/activate-hermit@v1
- name: Test
run: make -C docs schema
it:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
with:
submodules: true
- name: Init Hermit
uses: cashapp/activate-hermit@v1
- name: Init Python Virtual Environment
run: |
./bin/hermit env -r >> $GITHUB_ENV
. ./bin/activate-hermit
python -mvenv .venv
. .venv/bin/activate
echo PATH=$PATH >> $GITHUB_ENV
Expand Down

0 comments on commit c146374

Please sign in to comment.