diff --git a/.github/workflows/code-coverage.yml b/.github/workflows/code-coverage.yml index 779376497..123b7bbae 100644 --- a/.github/workflows/code-coverage.yml +++ b/.github/workflows/code-coverage.yml @@ -11,15 +11,15 @@ jobs: name: Code Coverage Tests runs-on: ubuntu-latest steps: - - name: Set up Go. + - name: Check out repository + uses: actions/checkout@v3 + with: + fetch-depth: 0 + - name: Set up Go uses: actions/setup-go@v4 with: go-version: '1.20' id: go - - name: Check out code into the Go module directory - uses: actions/checkout@v3 - with: - fetch-depth: 0 - name: Run Tests run: make test-with-coverage - name: Upload Coverage diff --git a/.github/workflows/compat-test.yml b/.github/workflows/compat-test.yml index 8f3e47e39..b70c1150d 100644 --- a/.github/workflows/compat-test.yml +++ b/.github/workflows/compat-test.yml @@ -13,15 +13,15 @@ jobs: name: Compat Test runs-on: ubuntu-latest steps: - - name: Set up Go. + - name: Check out repository + uses: actions/checkout@v3 + with: + fetch-depth: 0 + - name: Set up Go uses: actions/setup-go@v4 with: go-version: '1.20' id: go - - name: Check out code into the Go module directory - uses: actions/checkout@v3 - with: - fetch-depth: 0 - name: Compat Test run: make compat-tests - name: Upload Logs diff --git a/.github/workflows/endurance-test.yml b/.github/workflows/endurance-test.yml index 95319df94..9d000290e 100644 --- a/.github/workflows/endurance-test.yml +++ b/.github/workflows/endurance-test.yml @@ -18,15 +18,15 @@ jobs: if: ${{ github.repository == 'kopia/kopia' }} runs-on: ubuntu-latest steps: - - name: Set up Go. + - name: Check out repository + uses: actions/checkout@v3 + with: + fetch-depth: 0 + - name: Set up Go uses: actions/setup-go@v4 with: go-version: '1.20' id: go - - name: Check out code into the Go module directory - uses: actions/checkout@v3 - with: - fetch-depth: 0 - name: Endurance Tests run: make endurance-tests - name: Upload Logs diff --git a/.github/workflows/htmlui-tests.yml b/.github/workflows/htmlui-tests.yml index addd0caed..ce0981628 100644 --- a/.github/workflows/htmlui-tests.yml +++ b/.github/workflows/htmlui-tests.yml @@ -26,15 +26,15 @@ jobs: name: E2E Test runs-on: ubuntu-latest steps: - - name: Set up Go. + - name: Check out repository + uses: actions/checkout@v3 + with: + fetch-depth: 0 + - name: Set up Go uses: actions/setup-go@v4 with: go-version: '1.20' id: go - - name: Check out code into the Go module directory - uses: actions/checkout@v3 - with: - fetch-depth: 0 - name: Run Tests run: make htmlui-e2e-test - name: Upload Screenshots diff --git a/.github/workflows/license-check.yml b/.github/workflows/license-check.yml index f7d648c5e..659987437 100644 --- a/.github/workflows/license-check.yml +++ b/.github/workflows/license-check.yml @@ -11,15 +11,15 @@ jobs: name: License Check runs-on: ubuntu-latest steps: - - name: Set up Go. + - name: Check out repository + uses: actions/checkout@v3 + with: + fetch-depth: 0 + - name: Set up Go uses: actions/setup-go@v4 with: go-version: '1.20' id: go - - name: Check out code into the Go module directory - uses: actions/checkout@v3 - with: - fetch-depth: 0 - name: Download dependencies run: go mod vendor - name: Run License Check diff --git a/.github/workflows/make.yml b/.github/workflows/make.yml index 4262354b3..f33467a9d 100644 --- a/.github/workflows/make.yml +++ b/.github/workflows/make.yml @@ -39,7 +39,11 @@ jobs: runs-on: ${{ matrix.os }} continue-on-error: ${{ contains(matrix.os, 'self-hosted') }} steps: - - name: Set up Go. + - name: Check out repository + uses: actions/checkout@v3 + with: + fetch-depth: 0 + - name: Set up Go uses: actions/setup-go@v4 with: go-version: '1.20' @@ -54,10 +58,6 @@ jobs: - name: Install macOS-specific packages run: "sudo xcode-select -r" if: ${{ contains(matrix.os, 'macos') }} - - name: Check out code into the Go module directory - uses: actions/checkout@v3 - with: - fetch-depth: 0 - name: Setup run: make -j4 ci-setup - name: Install macOS certificates diff --git a/.github/workflows/provider-tests.yml b/.github/workflows/provider-tests.yml index 0f5f4e958..fb2662a3f 100644 --- a/.github/workflows/provider-tests.yml +++ b/.github/workflows/provider-tests.yml @@ -16,15 +16,15 @@ jobs: if: ${{ github.repository == 'kopia/kopia' }} runs-on: ubuntu-latest steps: - - name: Set up Go. + - name: Check out repository + uses: actions/checkout@v3 + with: + fetch-depth: 0 + - name: Set up Go uses: actions/setup-go@v4 with: go-version: '1.20' id: go - - name: Check out code into the Go module directory - uses: actions/checkout@v3 - with: - fetch-depth: 0 - name: Install Dependencies run: make provider-tests-deps - name: Azure diff --git a/.github/workflows/race-detector.yml b/.github/workflows/race-detector.yml index 622bac976..ee93a7366 100644 --- a/.github/workflows/race-detector.yml +++ b/.github/workflows/race-detector.yml @@ -11,14 +11,14 @@ jobs: name: Tests runs-on: ubuntu-latest steps: - - name: Set up Go. + - name: Check out repository + uses: actions/checkout@v3 + with: + fetch-depth: 0 + - name: Set up Go uses: actions/setup-go@v4 with: go-version: '1.20' id: go - - name: Check out code into the Go module directory - uses: actions/checkout@v3 - with: - fetch-depth: 0 - name: Unit Tests run: make -j2 test UNIT_TEST_RACE_FLAGS=-race UNIT_TESTS_TIMEOUT=1200s diff --git a/.github/workflows/stress-test.yml b/.github/workflows/stress-test.yml index 817734964..cdb1186be 100644 --- a/.github/workflows/stress-test.yml +++ b/.github/workflows/stress-test.yml @@ -17,15 +17,15 @@ jobs: if: ${{ github.repository == 'kopia/kopia' }} runs-on: ubuntu-latest steps: - - name: Set up Go. + - name: Check out repository + uses: actions/checkout@v3 + with: + fetch-depth: 0 + - name: Set up Go uses: actions/setup-go@v4 with: go-version: '1.20' id: go - - name: Check out code into the Go module directory - uses: actions/checkout@v3 - with: - fetch-depth: 0 - name: Stress Test run: make stress-test - name: Upload Logs diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 299cd46ca..cd9cdae0a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -37,7 +37,11 @@ jobs: runs-on: ${{ matrix.os }} continue-on-error: ${{ contains(matrix.os, 'self-hosted') }} steps: - - name: Set up Go. + - name: Check out repository + uses: actions/checkout@v3 + with: + fetch-depth: 0 + - name: Set up Go uses: actions/setup-go@v4 with: go-version: '1.20' @@ -52,10 +56,6 @@ jobs: - name: Install macOS-specific packages run: "sudo xcode-select -r" if: ${{ contains(matrix.os, 'macos') }} - - name: Check out code into the Go module directory - uses: actions/checkout@v3 - with: - fetch-depth: 0 - name: Setup run: make -j4 ci-setup - name: Tests