Skip to content

Commit a919e1b

Browse files
committed
Update Opal versions for GHA
1 parent ad505ec commit a919e1b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/build.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ jobs:
77
strategy:
88
matrix:
99
os: [ 'ubuntu-latest' ]
10-
ruby: [ "3.0", "2.7", "2.6", "2.5" ]
11-
opal: [ "1.0.3", "1.1.0" ]
10+
ruby: [ "head", "3.0", "2.7", "2.6" ]
11+
opal: [ "~>1.0.0a", "~>1.1.0a", "~>1.3.0a", "~>1.4.0a"]
1212

1313
runs-on: ${{ matrix.os }}
1414

spec/tilt/opal_spec.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
template = described_class.new('./spec/fixtures/opal_file.rb', :build=>true)
2222
output = template.render
2323
expect(output).to include('"hi from opal!"')
24-
expect(output).to include('self.$require("corelib/runtime");')
24+
expect(output).to include('.$require("corelib/runtime");')
2525
end
2626

2727
it "support :builder option" do
@@ -31,7 +31,7 @@
3131
2.times do
3232
output = template.render
3333
expect(output.scan(/hi from opal!/).length).to eql(1)
34-
expect(output).not_to include('self.$require("corelib/runtime");')
34+
expect(output).not_to include('.$require("corelib/runtime");')
3535
end
3636
end
3737
end

0 commit comments

Comments
 (0)