mirror of
https://github.com/kopia/kopia.git
synced 2026-07-12 14:46:05 -04:00
Bumps the github-actions group with 2 updates: [actions/checkout](https://github.com/actions/checkout) and [actions/setup-go](https://github.com/actions/setup-go). Updates `actions/checkout` from 6.0.2 to 7.0.0 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](de0fac2e45...9c091bb21b) Updates `actions/setup-go` from 6.4.0 to 6.5.0 - [Release notes](https://github.com/actions/setup-go/releases) - [Commits](4a3601121d...924ae3a1cd) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 7.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: actions/setup-go dependency-version: 6.5.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-actions ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
62 lines
2.2 KiB
YAML
62 lines
2.2 KiB
YAML
name: Providers - Extra
|
|
on:
|
|
push:
|
|
branches: [ test/providers ]
|
|
tags:
|
|
- v*
|
|
schedule:
|
|
# twice a week on Tuesday & Thursday (UTC time)
|
|
- cron: '9 7 * * 2,4'
|
|
workflow_dispatch:
|
|
inputs:
|
|
ref:
|
|
description: 'branch or git ref to use for the build'
|
|
required: true
|
|
default: 'test/providers'
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
jobs:
|
|
provider-test:
|
|
name: Extra Providers Test
|
|
if: ${{ github.repository == 'kopia/kopia' && !github.event.pull_request.head.repo.fork }}
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Check out repository
|
|
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
with:
|
|
fetch-depth: 0
|
|
ref: ${{ github.event.inputs.ref_name || github.ref }}
|
|
- name: Set up Go
|
|
uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
|
|
with:
|
|
go-version-file: 'go.mod'
|
|
- name: Install Dependencies
|
|
run: make provider-tests-deps
|
|
- name: B2
|
|
run: make provider-tests PROVIDER_TEST_TARGET=b2
|
|
env:
|
|
KOPIA_B2_TEST_BUCKET: ${{ secrets.KOPIA_B2_TEST_BUCKET }}
|
|
KOPIA_B2_TEST_KEY: ${{ secrets.KOPIA_B2_TEST_KEY }}
|
|
KOPIA_B2_TEST_KEY_ID: ${{ secrets.KOPIA_B2_TEST_KEY_ID }}
|
|
if: ${{ success() || failure() }}
|
|
- name: GDrive
|
|
run: make provider-tests PROVIDER_TEST_TARGET=gdrive
|
|
env:
|
|
KOPIA_GDRIVE_CREDENTIALS_JSON_GZIP: ${{ secrets.KOPIA_GDRIVE_CREDENTIALS_JSON_GZIP }}
|
|
KOPIA_GDRIVE_TEST_FOLDER_ID: ${{ secrets.KOPIA_GDRIVE_TEST_FOLDER_ID }}
|
|
if: ${{ success() || failure() }}
|
|
- name: Rclone
|
|
run: make provider-tests PROVIDER_TEST_TARGET=rclone
|
|
env:
|
|
KOPIA_RCLONE_EMBEDDED_CONFIG_B64: ${{ secrets.KOPIA_RCLONE_EMBEDDED_CONFIG_B64 }}
|
|
if: ${{ success() || failure() }}
|
|
- name: WebDAV
|
|
run: make provider-tests PROVIDER_TEST_TARGET=webdav
|
|
env:
|
|
KOPIA_WEBDAV_TEST_URL: ${{ secrets.KOPIA_WEBDAV_TEST_URL }}
|
|
KOPIA_WEBDAV_TEST_USERNAME: ${{ secrets.KOPIA_WEBDAV_TEST_USERNAME }}
|
|
KOPIA_WEBDAV_TEST_PASSWORD: ${{ secrets.KOPIA_WEBDAV_TEST_PASSWORD }}
|
|
if: ${{ success() || failure() }}
|