expressir 1.3.0.pre.1-x86_64-linux-gnu → 1.3.0.pre.2-x86_64-linux-gnu
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/rake.yml +1 -3
- data/.github/workflows/release.yml +67 -4
- data/lib/expressir/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d899fe55b2f8df591ae0840cd729c0641b61482c33b4fb56b8f2157f0a0abee0
|
4
|
+
data.tar.gz: 471d90492641584e4f196bd6868993f3cc3199a272a467f3456b720d6779abb6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7785bdae39d2314591ea97a8f4795644fea21dffeaa252dffe21128a606793a1f29a3be1f7e26048c37e4493e7cd6cac376014d627d09970307f078039f62cff
|
7
|
+
data.tar.gz: c9815614e9df6c602ae4d743d0f5c7d58b661744dc5bcb7f730c3e277d09cf7b6c3a2b71068df2b034274e1528fd9feffe98e4e976baf4f7659f6171a0c75a02
|
data/.github/workflows/rake.yml
CHANGED
@@ -2,7 +2,7 @@ name: rake
|
|
2
2
|
|
3
3
|
on:
|
4
4
|
push:
|
5
|
-
branches: [
|
5
|
+
branches: [ main ]
|
6
6
|
paths-ignore:
|
7
7
|
- 'docs/**'
|
8
8
|
- '**.adoc'
|
@@ -278,8 +278,6 @@ jobs:
|
|
278
278
|
runs-on: windows-latest
|
279
279
|
strategy:
|
280
280
|
fail-fast: false
|
281
|
-
# Ruby 3.1 fails
|
282
|
-
# https://github.com/lutaml/expressir/issues/103
|
283
281
|
matrix:
|
284
282
|
ruby: [ '3.2', '3.1', '3.0', '2.7' ]
|
285
283
|
steps:
|
@@ -55,8 +55,10 @@ jobs:
|
|
55
55
|
|
56
56
|
- run: bundle install --jobs 4 --retry 3
|
57
57
|
|
58
|
-
|
59
|
-
|
58
|
+
- name: Build gem and save version
|
59
|
+
if: matrix.platform == 'linux-gnu'
|
60
|
+
run: |
|
61
|
+
gem build expressir.gemspec | grep -o 'Version: .*' | awk '{print $2}' > version
|
60
62
|
|
61
63
|
- if: matrix.platform == 'linux-gnu'
|
62
64
|
uses: actions/upload-artifact@v3
|
@@ -64,6 +66,12 @@ jobs:
|
|
64
66
|
name: pkg-ruby
|
65
67
|
path: expressir-*.gem
|
66
68
|
|
69
|
+
- if: matrix.platform == 'linux-gnu'
|
70
|
+
uses: actions/upload-artifact@v3
|
71
|
+
with:
|
72
|
+
name: version
|
73
|
+
path: version
|
74
|
+
|
67
75
|
- name: Enable swap
|
68
76
|
run: |
|
69
77
|
sudo fallocate -l 15g /compile.swap
|
@@ -108,12 +116,11 @@ jobs:
|
|
108
116
|
with:
|
109
117
|
ruby-version: '3.1'
|
110
118
|
|
111
|
-
- run: ls -l pkg/
|
112
|
-
|
113
119
|
- name: Publish to rubygems.org
|
114
120
|
env:
|
115
121
|
RUBYGEMS_API_KEY: ${{ secrets.LUTAML_CI_RUBYGEMS_API_KEY }}
|
116
122
|
run: |
|
123
|
+
ls -l pkg/
|
117
124
|
mkdir -p ~/.gem
|
118
125
|
cat > ~/.gem/credentials << EOF
|
119
126
|
---
|
@@ -122,3 +129,59 @@ jobs:
|
|
122
129
|
chmod 0600 ~/.gem/credentials
|
123
130
|
gem signin
|
124
131
|
for gem in pkg/*.gem; do gem push $gem -V; done
|
132
|
+
|
133
|
+
verify:
|
134
|
+
name: Verify published gem on ${{ matrix.os }}
|
135
|
+
needs: publish
|
136
|
+
runs-on: ${{ matrix.os }}
|
137
|
+
strategy:
|
138
|
+
fail-fast: false
|
139
|
+
matrix:
|
140
|
+
os: [ ubuntu-latest, windows-latest, macos-latest ]
|
141
|
+
steps:
|
142
|
+
- name: Install Ruby
|
143
|
+
uses: ruby/setup-ruby@master
|
144
|
+
with:
|
145
|
+
ruby-version: 3.1
|
146
|
+
bundler-cache: true
|
147
|
+
bundler: ${{ env.BUNDLER_VER }}
|
148
|
+
|
149
|
+
- name: Download version
|
150
|
+
uses: actions/download-artifact@v3
|
151
|
+
with:
|
152
|
+
name: version
|
153
|
+
path: version
|
154
|
+
|
155
|
+
- name: Install gem
|
156
|
+
run: gem install expressir -v $(cat version)
|
157
|
+
|
158
|
+
- name: Verify
|
159
|
+
run: |
|
160
|
+
cd $(ruby -e "puts RbConfig::TOPDIR + '\/lib\/ruby\/gems\/' + RbConfig::CONFIG['ruby_version'] + '\/gems\/expressir*'")
|
161
|
+
ruby bin/rspec
|
162
|
+
cat .rspec_status || echo ".rspec_status was not found"
|
163
|
+
|
164
|
+
verify-alpine:
|
165
|
+
name: Verify published gem on Alpine
|
166
|
+
needs: publish
|
167
|
+
runs-on: ubuntu-latest
|
168
|
+
container:
|
169
|
+
image: alpine:3.17
|
170
|
+
steps:
|
171
|
+
- name: Install packages
|
172
|
+
run: apk --no-cache add bash build-base git ruby-dev gcc g++ automake
|
173
|
+
|
174
|
+
- name: Download version
|
175
|
+
uses: actions/download-artifact@v3
|
176
|
+
with:
|
177
|
+
name: version
|
178
|
+
path: version
|
179
|
+
|
180
|
+
- name: Install gem
|
181
|
+
run: gem install expressir -v $(cat version)
|
182
|
+
|
183
|
+
- name: Verify
|
184
|
+
run: |
|
185
|
+
cd $(ruby -e "puts RbConfig::TOPDIR + '\/lib\/ruby\/gems\/' + RbConfig::CONFIG['ruby_version'] + '\/gems\/expressir*'")
|
186
|
+
ruby bin/rspec
|
187
|
+
cat .rspec_status || echo ".rspec_status was not found"
|
data/lib/expressir/version.rb
CHANGED