Skip to content

github action: enforce issue detection with bash #8168

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jun 24, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ jobs:
build-linux:
name: Build ${{ matrix.chunk }}
runs-on: ubuntu-latest
defaults:
run:
shell: bash
strategy:
matrix:
chunk: [0, 1, 2, 3, 4, 5, 6, 7]
Expand Down Expand Up @@ -47,6 +50,9 @@ jobs:
build-debug-ipv6:
name: Debug IPv6 ${{ matrix.chunk }}
runs-on: ubuntu-latest
defaults:
run:
shell: bash
strategy:
matrix:
chunk: [0, 1, 2, 3, 4, 5, 6, 7]
Expand Down Expand Up @@ -110,6 +116,9 @@ jobs:
build-mac:
name: Mac
runs-on: macOS-latest
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v2
with:
Expand Down Expand Up @@ -139,6 +148,9 @@ jobs:
build-pio:
name: Build Platform.IO
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v2
with:
Expand All @@ -163,6 +175,9 @@ jobs:
host-tests:
name: Host tests
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v2
with:
Expand All @@ -184,6 +199,9 @@ jobs:
documentation:
name: Documentation
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v2
with:
Expand All @@ -208,6 +226,9 @@ jobs:
style-check:
name: Style and formatting
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v2
with:
Expand All @@ -229,6 +250,9 @@ jobs:
mock-check:
name: Mock trivial test
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v2
with:
Expand All @@ -248,6 +272,9 @@ jobs:
boards-check:
name: Boards.txt check
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v2
with:
Expand Down Expand Up @@ -275,6 +302,9 @@ jobs:
code-spell:
name: Check spelling
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v2
with:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/release-to-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ jobs:
package:
name: Update master JSON file
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v2
with:
Expand All @@ -42,7 +45,8 @@ jobs:
python-version: '3.x'
- name: Set GIT tag name
run: |
echo "TRAVIS_TAG=$(git describe --exact-match --tags)" >> $GITHUB_ENV
TRAVIS_TAG="$(git describe --exact-match --tags)"
echo "TRAVIS_TAG=\"${TRAVIS_TAG}\"" >> $GITHUB_ENV
- name: Deploy updated JSON
env:
TRAVIS_BUILD_DIR: ${{ github.workspace }}
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/tag-to-draft-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ jobs:
package:
name: Package
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v2
with:
Expand All @@ -25,7 +28,8 @@ jobs:
- name: Set GIT tag name
run: |
# Sets an environment variable used in the next steps
echo "TRAVIS_TAG=$(git describe --exact-match --tags)" >> $GITHUB_ENV
TRAVIS_TAG="$(git describe --exact-match --tags)"
echo "TRAVIS_TAG=\"${TRAVIS_TAG}\"" >> $GITHUB_ENV
- name: Build package JSON
env:
TRAVIS_BUILD_DIR: ${{ github.workspace }}
Expand Down