From aed793e206f7c9b788c04721126a54b95cc3b5a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nico=20Schl=C3=B6mer?= Date: Sun, 17 Jan 2021 10:59:23 +0100 Subject: [PATCH 1/2] rename master -> main --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 1777de1..65eaee7 100644 --- a/Makefile +++ b/Makefile @@ -4,11 +4,11 @@ default: @echo "\"make publish\"?" tag: - @if [ "$(shell git rev-parse --abbrev-ref HEAD)" != "master" ]; then exit 1; fi + @if [ "$(shell git rev-parse --abbrev-ref HEAD)" != "main" ]; then exit 1; fi curl -H "Authorization: token `cat $(HOME)/.github-access-token`" -d '{"tag_name": "v$(VERSION)"}' https://api.github.com/repos/nschloe/perfplot/releases upload: clean - @if [ "$(shell git rev-parse --abbrev-ref HEAD)" != "master" ]; then exit 1; fi + @if [ "$(shell git rev-parse --abbrev-ref HEAD)" != "main" ]; then exit 1; fi # https://stackoverflow.com/a/58756491/353337 python3 -m build --sdist --wheel . twine upload dist/* From 9df0e40e2a696a6ad4832adf4d524fc79d86abc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nico=20Schl=C3=B6mer?= Date: Sun, 17 Jan 2021 10:59:59 +0100 Subject: [PATCH 2/2] also test on python 3.9 --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cf07cff..c2b3f80 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,7 +6,7 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/setup-python@v1 + - uses: actions/setup-python@v2 with: python-version: "3.x" - uses: actions/checkout@v2 @@ -23,9 +23,9 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.6, 3.7, 3.8] + python-version: [3.6, 3.7, 3.8, 3.9] steps: - - uses: actions/setup-python@v1 + - uses: actions/setup-python@v2 with: python-version: "3.x" - uses: actions/checkout@v2