Skip to content

Commit

Permalink
Apply review remarks
Browse files Browse the repository at this point in the history
  • Loading branch information
WStechura committed Jun 13, 2024
1 parent e0c1e20 commit cac42e4
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/actions/build-collection/action.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2023 Dynatrace LLC
# Copyright 2024 Dynatrace LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/run-tests/action.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2023 Dynatrace LLC
# Copyright 2024 Dynatrace LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/setup-build-environment/action.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2023 Dynatrace LLC
# Copyright 2024 Dynatrace LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/upload-collection/action.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2023 Dynatrace LLC
# Copyright 2024 Dynatrace LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/build-and-test.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2023 Dynatrace LLC
# Copyright 2024 Dynatrace LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -29,6 +29,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-build-environment
- uses: ./.github/actions/build-collection
- uses: ./.github/actions/run-tests
- name: Setting up environment
uses: ./.github/actions/setup-build-environment
- name: Building the collection
uses: ./.github/actions/build-collection
- name: Running tests
uses: ./.github/actions/run-tests
11 changes: 5 additions & 6 deletions .github/workflows/build-test-upload.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2023 Dynatrace LLC
# Copyright 2024 Dynatrace LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -18,12 +18,11 @@ on:
types: [ 'closed' ]
workflow_dispatch:

env:
FILES_DIR: roles/oneagent/files

jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: ./.github/workflows/build-and-test.yaml
- uses: ./.github/actions/upload-collection
- name: Build and test
uses: ./.github/workflows/build-and-test.yaml
- name: Upload the collection
uses: ./.github/actions/upload-collection

0 comments on commit cac42e4

Please sign in to comment.