Skip to content

Commit

Permalink
Merge pull request #28 from JuliaCI/sf/bash_path
Browse files Browse the repository at this point in the history
Use bash anywhere
  • Loading branch information
maleadt authored Oct 23, 2024
2 parents bfdf82e + 8a5248b commit 65e6611
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:
- uses: actions/checkout@v2
with:
persist-credentials: false
- run: docker-compose run --rm lint
- run: docker compose run --rm lint
test:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
- run: docker-compose run --rm test
- run: docker compose run --rm test
2 changes: 1 addition & 1 deletion hooks/post-checkout
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Load common tools
PLUGIN_ROOT="$( cd "$( dirname "$( dirname "${BASH_SOURCE[0]}" )" )" &> /dev/null && pwd )"
Expand Down
2 changes: 1 addition & 1 deletion lib/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function get_meta_env_value() {
fi

# If this name is already defined in the environment, use that value
if [[ -v "${NAME}" ]]; then
if [[ -n "${!NAME+x}" ]]; then
echo -n "${!NAME}"
return
fi
Expand Down

0 comments on commit 65e6611

Please sign in to comment.