Revert Me: Manually install go 1.16 until github actions updates image

This commit is contained in:
Niklas Fasching 2021-03-01 14:16:56 +01:00
parent 703066682e
commit bf7f957af2
2 changed files with 8 additions and 4 deletions

View file

@ -15,11 +15,13 @@ jobs:
git config user.email "action@github.com" git config user.email "action@github.com"
git log -1 --format="%H" git log -1 --format="%H"
- name: test - name: test
run: make test run: |
sudo snap install go --edge --classic
GOROOT=/snap/go/current make test
- name: gh-pages - name: gh-pages
run: | run: |
git checkout --orphan gh-pages && git reset git checkout --orphan gh-pages && git reset
make generate-gh-pages GOROOT=/snap/go/current make generate-gh-pages
git add -f docs/ && git commit -m deploy git add -f docs/ && git commit -m deploy
git push -f origin gh-pages git push -f origin gh-pages
- name: notify - name: notify

View file

@ -220,11 +220,13 @@ jobs:
git config user.email "action@github.com" git config user.email "action@github.com"
git log -1 --format="%H" git log -1 --format="%H"
- name: test - name: test
run: make test run: |
sudo snap install go --edge --classic
GOROOT=/snap/go/current make test
- name: gh-pages - name: gh-pages
run: | run: |
git checkout --orphan gh-pages && git reset git checkout --orphan gh-pages && git reset
make generate-gh-pages GOROOT=/snap/go/current make generate-gh-pages
git add -f docs/ && git commit -m deploy git add -f docs/ && git commit -m deploy
git push -f origin gh-pages git push -f origin gh-pages
- name: notify - name: notify