Commit Graph

7 Commits

Author SHA1 Message Date
Jeff Epler 03c04e77ae actions: Try checkout v2.2.0
This version is supposed to
> Fetch all history for all tags and branches when fetch-depth=0

We leave the tags fetch in place so that actions _in cloned repos_
work.  Cloned repos' tags do not necessarily match adafruit/circuitpython,
but we want version reporting to be able to use adafruit/circuitpython
tags when they are most relevant according to "git describe"'s heuristics.

Submodules are different, as they always point to the repo specified
in .gitmodules, so they don't need special handling to get the most
relevant tags.
2020-06-14 19:01:52 -05:00
Diego Elio Pettenò dd5d7c86d2 Fix up end of file and trailing whitespace.
This can be enforced by pre-commit, but correct it separately to make it easier to review.
2020-06-03 10:56:35 +01:00
Jeff Epler f817bfe3c6 switch to checkout@v2 with submodules and fetch-depth 0
In order to get tags, including in submodules, we use our own fetching
procedure on top of checkout@v2.

A problem occuring in about 1% of jobs was that some submodules inexplicably
did not have an "origin" remote configured.  "git submodule sync"
configures the "origin" remote in those cases.  No cause for the problem
was determined.

Besides keeping up to date on actions/checkout, @v2 is supposed to fix a bug
where "re-run" of a pull request would fail checking out the code.
2020-04-11 17:29:07 -05:00
Jeff Epler ffe73a4c3f workflows: use current (3.8) python
now the need for 3.5 has been fixed
2020-04-01 16:31:33 -05:00
Scott Shawcroft 6aad70b109
Switch to the new release event type filter
Fixes #2201
2019-10-14 20:16:59 -07:00
Scott Shawcroft 4651f91f94
Swap to Blinka access token to hopefully not hit rate limit 2019-09-03 14:50:33 -07:00
Scott Shawcroft 6106909c10
Swap the CI to GitHub Actions from Travis 2019-08-27 19:53:54 -07:00