Skip to content

Commit

Permalink
ci: System-wide PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
mtweeman committed Sep 10, 2024
1 parent bccbf53 commit b1676b1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,20 @@ jobs:
name: Static analysis geodesic test
runs-on: ubuntu-latest
container:
image: mtweeman/hajle-silesia_provisioning-ld:sha-2387ca9
image: mtweeman/hajle-silesia_provisioning-ld:sha-3a08116

defaults:
run:
shell:
bash -il -e -o pipefail {0}
bash

steps:
- name: Checkout
uses: actions/checkout@v4
- name: Commands
run: |
echo "PATH: ${PATH}"
. ~/.profile
. /etc/profile
echo "PATH: ${PATH}"
git config --global --add safe.directory $GITHUB_WORKSPACE
pre-commit run --all-files --hook-stage manual
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ ARG MISE_VERSION
ARG MISE_INSTALL_PATH="/usr/local/bin/mise"
RUN curl https://mise.run | MISE_INSTALL_PATH="${MISE_INSTALL_PATH}" MISE_VERSION="${MISE_VERSION}" sh
#RUN echo "eval \"\$(${MISE_INSTALL_PATH} activate bash)\"" >> ~/.profile
RUN mise activate bash --shims >> ~/.profile
ENV PATH="${PATH}:$(mise activate bash --shims)"
# source: https://mise.jdx.dev/configuration.html#system-config-etc-mise-config-toml
COPY .mise.toml /etc/mise/config.toml
# source: https://mise.jdx.dev/cli/install.html
Expand Down

0 comments on commit b1676b1

Please sign in to comment.