这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/builds-canary.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
steps:
# Clean checkout of specific git ref needed for package metadata version
# which needs env vars GIT_DESCRIBE_TAG and GIT_BUILD_STR:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
ref: ${{ github.ref }}
clean: true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/builds-review.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
steps:

- name: Remove build label
uses: actions/github-script@v5
uses: actions/github-script@v6
with:
github-token: ${{ secrets.CANARY_ACTION_TOKEN }}
script: |
Expand All @@ -47,7 +47,7 @@ jobs:

# Clean checkout of specific git ref needed for package metadata version
# which needs env vars GIT_DESCRIBE_TAG and GIT_BUILD_STR:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
ref: ${{ github.ref }}
clean: true
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ jobs:
matrix:
python: ['3.7', '3.8', '3.9', '3.10']
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Log in to the Container registry
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
Expand All @@ -71,15 +71,15 @@ jobs:

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v3
uses: docker/metadata-action@v4
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
flavor: |
latest=false
suffix=-linux-python${{ matrix.python }}

- name: Build & push Python ${{ matrix.python }}
uses: docker/build-push-action@v2
uses: docker/build-push-action@v3
with:
file: ./Dockerfile
builder: ${{ steps.buildx.outputs.name }}
Expand Down
24 changes: 7 additions & 17 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
TEST_SPLITS: 3
TEST_GROUP: ${{ matrix.test-group }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0

Expand All @@ -61,7 +61,7 @@ jobs:
run: |
call .\dev\windows\${{ matrix.test-type }}.bat

- uses: codecov/codecov-action@v2
- uses: codecov/codecov-action@v3
with:
flags: ${{ matrix.test-type }}
env_vars: OS,PYTHON
Expand Down Expand Up @@ -92,7 +92,7 @@ jobs:
TEST_SPLITS: 3
TEST_GROUP: ${{ matrix.test-group }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0

Expand All @@ -105,7 +105,7 @@ jobs:
ghcr.io/conda/conda-ci:main-linux-python${{ matrix.python-version }}
/opt/conda-src/dev/linux/${{ matrix.test-type }}.sh

- uses: codecov/codecov-action@v2
- uses: codecov/codecov-action@v3
with:
flags: ${{ matrix.test-type }}
env_vars: OS,PYTHON
Expand Down Expand Up @@ -138,7 +138,7 @@ jobs:
OS: linux-${{ matrix.platform }}
PYTHON: ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0

Expand Down Expand Up @@ -184,20 +184,10 @@ jobs:
TEST_SPLITS: 3
TEST_GROUP: ${{ matrix.test-group }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0

# - name: Cache conda
# uses: actions/cache@v2
# env:
# # Increase this value to reset cache if tests/requirements.txt has not changed
# CACHE_NUMBER: 0
# with:
# path: ~/conda_pkgs_dir
# key:
# ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles('tests/requirements.txt') }}

- uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: conda-test-env
Expand All @@ -215,7 +205,7 @@ jobs:
run: |
./dev/macos/${{ matrix.test-type }}.sh

- uses: codecov/codecov-action@v2
- uses: codecov/codecov-action@v3
with:
flags: ${{ matrix.test-type }}
env_vars: OS,PYTHON
Expand Down