Skip to content

Commit

Permalink
Fix Github Actions tests workflow on newer versions of Ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanmaric committed Jul 10, 2023
1 parent 4591bcc commit 3efcd4c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
runs-on: ubuntu-latest
defaults:
run:
shell: bash -i {0}
shell: 'script -q -e -c "bash -eo pipefail {0}"'

steps:
- name: Checkout code
Expand All @@ -41,7 +41,7 @@ jobs:
run: curl -sSL https://git.io/g-install | sh -s -- -y bash

- name: Verify environment variables
run: test ! -z "${GOROOT?}" && test ! -z "${GOPATH?}"
run: source ~/.bashrc && test ! -z "${GOROOT?}" && test ! -z "${GOPATH?}"

- name: Verify g installation
run: g --version
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Unreleased

- Add description and website to help command
- Fix Github Actions tests workflow on newer versions of Ubuntu

## 0.9.1 - 2022-10-23

Expand Down

0 comments on commit 3efcd4c

Please sign in to comment.