Merge pull request #3035 from jepler/simplify-checkout

actions: Try checkout v2.2.0
This commit is contained in:
Scott Shawcroft 2020-06-15 14:55:24 -07:00 committed by GitHub
commit b3b38c18c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 22 deletions

View File

@ -16,14 +16,11 @@ jobs:
env: env:
GITHUB_CONTEXT: ${{ toJson(github) }} GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT" run: echo "$GITHUB_CONTEXT"
- uses: actions/checkout@v2 - uses: actions/checkout@v2.2.0
with: with:
submodules: true submodules: true
fetch-depth: 0 fetch-depth: 0
- run: git fetch --recurse-submodules=no https://github.com/adafruit/circuitpython refs/tags/*:refs/tags/* - run: git fetch --recurse-submodules=no https://github.com/adafruit/circuitpython refs/tags/*:refs/tags/*
- run: git submodule sync
- run: git submodule foreach git remote -v
- run: git submodule foreach git fetch --recurse-submodules=no origin +refs/tags/*:refs/tags/*
- name: CircuitPython version - name: CircuitPython version
run: git describe --dirty --tags run: git describe --dirty --tags
- name: Set up Python 3.8 - name: Set up Python 3.8
@ -118,14 +115,11 @@ jobs:
gcc --version gcc --version
python3 --version python3 --version
msgfmt --version msgfmt --version
- uses: actions/checkout@v2 - uses: actions/checkout@v2.2.0
with: with:
submodules: true submodules: true
fetch-depth: 0 fetch-depth: 0
- run: git fetch --recurse-submodules=no https://github.com/adafruit/circuitpython refs/tags/*:refs/tags/* - run: git fetch --recurse-submodules=no https://github.com/adafruit/circuitpython refs/tags/*:refs/tags/*
- run: git submodule sync
- run: git submodule foreach git remote -v
- run: git submodule foreach git fetch --recurse-submodules=no origin +refs/tags/*:refs/tags/*
- name: CircuitPython version - name: CircuitPython version
run: git describe --dirty --tags run: git describe --dirty --tags
- name: Build mpy-cross - name: Build mpy-cross
@ -294,14 +288,11 @@ jobs:
gcc --version gcc --version
arm-none-eabi-gcc --version arm-none-eabi-gcc --version
python3 --version python3 --version
- uses: actions/checkout@v2 - uses: actions/checkout@v2.2.0
with: with:
submodules: true submodules: true
fetch-depth: 0 fetch-depth: 0
- run: git fetch --recurse-submodules=no https://github.com/adafruit/circuitpython refs/tags/*:refs/tags/* - run: git fetch --recurse-submodules=no https://github.com/adafruit/circuitpython refs/tags/*:refs/tags/*
- run: git submodule sync
- run: git submodule foreach git remote -v
- run: git submodule foreach git fetch --recurse-submodules=no origin +refs/tags/*:refs/tags/*
- name: mpy-cross - name: mpy-cross
run: make -C mpy-cross -j2 run: make -C mpy-cross -j2
- name: build - name: build
@ -345,14 +336,11 @@ jobs:
gcc --version gcc --version
riscv64-unknown-elf-gcc --version riscv64-unknown-elf-gcc --version
python3 --version python3 --version
- uses: actions/checkout@v2 - uses: actions/checkout@v2.2.0
with: with:
submodules: true submodules: true
fetch-depth: 0 fetch-depth: 0
- run: git fetch --recurse-submodules=no https://github.com/adafruit/circuitpython refs/tags/*:refs/tags/* - run: git fetch --recurse-submodules=no https://github.com/adafruit/circuitpython refs/tags/*:refs/tags/*
- run: git submodule sync
- run: git submodule foreach git remote -v
- run: git submodule foreach git fetch --recurse-submodules=no origin +refs/tags/*:refs/tags/*
- name: mpy-cross - name: mpy-cross
run: make -C mpy-cross -j2 run: make -C mpy-cross -j2
- name: build - name: build
@ -385,14 +373,11 @@ jobs:
uses: actions/setup-python@v1 uses: actions/setup-python@v1
with: with:
python-version: 3.8 python-version: 3.8
- uses: actions/checkout@v2 - uses: actions/checkout@v2.2.0
with: with:
submodules: true submodules: true
fetch-depth: 0 fetch-depth: 0
- run: git fetch --recurse-submodules=no https://github.com/adafruit/circuitpython refs/tags/*:refs/tags/* - run: git fetch --recurse-submodules=no https://github.com/adafruit/circuitpython refs/tags/*:refs/tags/*
- run: git submodule sync
- run: git submodule foreach git remote -v
- run: git submodule foreach git fetch --recurse-submodules=no origin +refs/tags/*:refs/tags/*
- name: CircuitPython version - name: CircuitPython version
run: git describe --dirty --tags run: git describe --dirty --tags
- uses: actions/cache@v1 - uses: actions/cache@v1

View File

@ -23,12 +23,11 @@ jobs:
run: | run: |
gcc --version gcc --version
python3 --version python3 --version
- uses: actions/checkout@v2 - uses: actions/checkout@v2.2.0
with: with:
submodules: true submodules: true
fetch-depth: 0 fetch-depth: 0
- run: git fetch --recurse-submodules=no https://github.com/adafruit/circuitpython refs/tags/*:refs/tags/* - run: git fetch --recurse-submodules=no https://github.com/adafruit/circuitpython refs/tags/*:refs/tags/*
- run: git submodule foreach git fetch --recurse-submodules=no origin +refs/tags/*:refs/tags/*
- name: CircuitPython version - name: CircuitPython version
run: git describe --dirty --tags run: git describe --dirty --tags
- name: Website - name: Website