github/workflows: Fix code-size CI workflow.

Changes are:
- Use ubuntu-20.04 so that gcc-multilib installs without error.
- Use "fetch-depth: 100" to get history prior to pull request.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George 2021-01-23 17:15:18 +11:00
parent 45f0b6ab63
commit 0a079155e4

View File

@ -14,9 +14,11 @@ on:
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-20.04
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with:
fetch-depth: 100
- name: Install packages - name: Install packages
run: source tools/ci.sh && ci_code_size_setup run: source tools/ci.sh && ci_code_size_setup
- name: Build - name: Build