Skip to content

Commit d898779

Browse files
alexeyr-cialexeyrcoderabbitai[bot]
authored
Fix problems with GitHub actions (#1691)
* Add Actionlint * Fix Actionlint issues * Remove obsolete CI files * Cache Actionlint * Better error handling for GitHub API Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --------- Co-authored-by: Alexey Romanov <[email protected]> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent 00a570e commit d898779

File tree

6 files changed

+90
-412
lines changed

6 files changed

+90
-412
lines changed

.circleci/config.yml

Lines changed: 0 additions & 338 deletions
This file was deleted.

.github/actionlint-matcher.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"problemMatcher": [
3+
{
4+
"owner": "actionlint",
5+
"pattern": [
6+
{
7+
"regexp": "^(?:\\x1b\\[\\d+m)?(.+?)(?:\\x1b\\[\\d+m)*:(?:\\x1b\\[\\d+m)*(\\d+)(?:\\x1b\\[\\d+m)*:(?:\\x1b\\[\\d+m)*(\\d+)(?:\\x1b\\[\\d+m)*: (?:\\x1b\\[\\d+m)*(.+?)(?:\\x1b\\[\\d+m)* \\[(.+?)\\]$",
8+
"file": 1,
9+
"line": 2,
10+
"column": 3,
11+
"message": 4,
12+
"code": 5
13+
}
14+
]
15+
}
16+
]
17+
}

.github/workflows/examples.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,19 @@ jobs:
6161
path: vendor/bundle
6262
key: package-app-gem-cache-${{ hashFiles('react_on_rails.gemspec') }}-${{ hashFiles('Gemfile.development_dependencies') }}-${{ matrix.versions }}
6363
- id: get-sha
64-
run: echo "::set-output name=sha::$(git rev-parse HEAD)"
64+
run: echo "sha=\"$(git rev-parse HEAD)\"" >> "$GITHUB_OUTPUT"
6565
- name: Install Node modules with Yarn for renderer package
6666
run: |
6767
yarn install --no-progress --no-emoji
6868
sudo yarn global add yalc
6969
- name: yalc publish for react-on-rails
7070
run: yalc publish
7171
- name: Install Ruby Gems for package
72-
run: bundle lock --add-platform 'x86_64-linux' && bundle check --path=vendor/bundle || bundle _2.5.9_ install --path=vendor/bundle --jobs=4 --retry=3
72+
run: |
73+
bundle lock --add-platform 'x86_64-linux'
74+
if ! bundle check --path=vendor/bundle; then
75+
bundle _2.5.9_ install --path=vendor/bundle --jobs=4 --retry=3
76+
fi
7377
- name: Ensure minimum required Chrome version
7478
run: |
7579
echo -e "Already installed $(google-chrome --version)\n"

0 commit comments

Comments
 (0)