This commit is contained in:
Stephan Seitz 2020-11-29 21:28:49 +01:00 committed by Thomas Vigouroux
parent 740f36b81d
commit ab808e8495
2 changed files with 7 additions and 4 deletions

View file

@ -12,13 +12,15 @@ jobs:
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with:
fetch-depth: 0 ref: master
- name: Prepare - name: Prepare
run: | run: |
sudo apt-get update sudo apt-get update
sudo add-apt-repository universe sudo add-apt-repository universe
sudo apt-get install -y jq wget https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64
mv ./jq-linux64 /tmp/jq
chmod +x /tmp/jq
wget https://github.com/neovim/neovim/releases/download/nightly/nvim.appimage wget https://github.com/neovim/neovim/releases/download/nightly/nvim.appimage
chmod u+x nvim.appimage chmod u+x nvim.appimage
mkdir -p ~/.local/share/nvim/site/pack/nvim-treesitter/start mkdir -p ~/.local/share/nvim/site/pack/nvim-treesitter/start
@ -29,7 +31,7 @@ jobs:
./nvim.appimage --headless -c "luafile ./scripts/write-lockfile.lua" -c "q" ./nvim.appimage --headless -c "luafile ./scripts/write-lockfile.lua" -c "q"
# Pretty print # Pretty print
cp lockfile.json /tmp/lockfile.json cp lockfile.json /tmp/lockfile.json
cat /tmp/lockfile.json | jq --sort-keys > lockfile.json cat /tmp/lockfile.json | /tmp/jq --sort-keys > lockfile.json
- name: Create Pull Request - name: Create Pull Request
uses: peter-evans/create-pull-request@v3 uses: peter-evans/create-pull-request@v3
@ -37,3 +39,4 @@ jobs:
commit-message: Update lockfile.json commit-message: Update lockfile.json
title: Update lockfile.json title: Update lockfile.json
branch: update-lockfile-pr branch: update-lockfile-pr
base: ${{ github.head_ref }}

View file

@ -30,7 +30,7 @@
"revision": "dadfd9c9aab2630632e61cfce645c13c35aa092f" "revision": "dadfd9c9aab2630632e61cfce645c13c35aa092f"
}, },
"graphql": { "graphql": {
"revision": "6127bcbdc717c8cf8287db767f68f017db6cd320" "revision": "c5cd49b95c5c121340f46a7b1a65ad44bc8576e6"
}, },
"haskell": { "haskell": {
"revision": "2a0aa1cb5f1b787a4056a29fa0791e87846e33fb" "revision": "2a0aa1cb5f1b787a4056a29fa0791e87846e33fb"