Upgrade to Pro — share decks privately, control downloads, hide ads and more …

GitHub Actionsで `shell` に `ruby {0}` と書ける話

GitHub Actionsで `shell` に `ruby {0}` と書ける話

GitHub Actionsで `shell` に `ruby {0}` と書ける話

hoshino tsuyoshi

July 04, 2024
Tweet

More Decks by hoshino tsuyoshi

Other Decks in Technology

Transcript

  1. ࢀߟ࠷ۙগ͠࿩୊ʹͳͬͨهࣄ w 3VCZBHSFBUMBOHVBHFGPSTIFMMTDSJQUT Feature 1: calling external commands Feature 2:

    status code Feature 3: it’s a typed language Feature 4: functional constructions Feature 5: regex matching Feature 6: easy threads Feature 7: builtin fi le and dir operations w 3VCZBHSFBUMBOHVBHFGPSTIFMMTDSJQUT
  2. ࢀߟ࠷ۙগ͠࿩୊ʹͳͬͨهࣄ w 3VCZBHSFBUMBOHVBHFGPSTIFMMTDSJQUT Feature 1: calling external commands Feature 2:

    status code Feature 3: it’s a typed language Feature 4: functional constructions Feature 5: regex matching Feature 6: easy threads Feature 7: builtin fi le and dir operations w 3VCZBHSFBUMBOHVBHFGPSTIFMMTDSJQUT ཁ໿ൈਮ 💎ҎԼͷΑ͏ͳ͜ͱ͕ಘҙ w ֎෦ίϚϯυݺͿ w εςʔλείʔυͷ֬ೝ w ஋ʹ ܕ͕͋Δ w ਖ਼نදݱ w ϑΝΠϧͱσΟϨΫτϦͷѻ͍
  3. w ݸਓతʹؾʹͳΔͷ͸ҎԼ w [Y HPPHMF[Y  w +BWB4DSJQUϕʔεɻτοϓϨϕϧBXBJU͕ॻ͚Δ w BDUJPOTHJUIVCTDSJQU

    w +BWB4DSJQU͕ॻ͚Δ(JU)VC"DUJPOT ʮZBNMʹڧྗͳεΫϦϓτΛॻ͖͍ͨʯ੎΁
  4. w CBTIͰॻ͖ͮΒ͍ͱ͖͸SVCZ ΍QZUIPO ݕ౼ͯ͠΋͍͍͔΋ w ݸਓϓϩδΣΫτͱ͔Ͱಛʹ w ʮKRͷΦϓγϣϯ͸֮͑ΒΕͳ͍͕SVCZ͸Θ͔Δʯਓ Θͨ͠Ͱ͢ 

    w ࢀߟ(JU)VC"DUJPOT IPTUFESVOOFS Ͱ࢖͑ΔίϚϯυ͸ެ։͞Ε͍ͯΔ ݁ͼ w IUUQTHJUIVCDPNBDUJPOTSVOOFSJNBHFTCMPCNBJOJNBHFTVCVOUV6CVOUV3FBENFNE
  5. w SVCZ͕γϡοͱॻ͚ͯڧ͍ͷ͸͜͏͍͏ͱ͖ͩͱࢥ͏ w ਖ਼نදݱ ͜Ε঺հͰ͖ͳ͔͚ͬͨͲϗϯτڧྗ  w KTPO ZBNM DTWͳͲͷϑΥʔϚοτؔ࿈

    w QBUIOBNF  fi MFVUJMTͳͲͷϑΝΠϧɾσΟϨΫτϦͷૢ࡞ w UJNF EBUF w NBUI TFDVSFSBOEPN w FUD ݁ͼ