From 33942b9108b9780bb69936a884460055052c1a92 Mon Sep 17 00:00:00 2001 From: Musilah Date: Fri, 17 Nov 2023 18:39:40 +0300 Subject: [PATCH] remove cache lines Signed-off-by: Musilah --- .github/workflows/ci.yml | 39 +++------------------------------------ 1 file changed, 3 insertions(+), 36 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a6b668a2f..13b142768 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,3 +1,6 @@ +# This workflow is licensed under the Apache License, Version 2.0 +# Copyright (c) Abstract Machines + name: CI Pipeline on: @@ -158,7 +161,6 @@ jobs: - name: Lint Users run: | cd users - cache restore linter $RUNNER_TOOL_CACHE/golangci-lint/latest/x64/golangci-lint run - name: Test Users @@ -166,7 +168,6 @@ jobs: cd users go test ./... --race -v -coverprofile=coverage.out go tool cover -html=coverage.out -o coverage.html - cache restore codecov ./codecov env: @@ -244,7 +245,6 @@ jobs: - name: Lint Things run: | cd things - cache restore linter ./bin/golangci-lint run - name: Test Things @@ -252,7 +252,6 @@ jobs: cd things go test ./... --race -v -coverprofile=coverage.out go tool cover -html=coverage.out -o coverage.html - cache restore codecov ./codecov env: @@ -324,7 +323,6 @@ jobs: - name: Lint CoAP run: | cd coap - cache restore linter ./bin/golangci-lint run - name: Test CoAP @@ -332,7 +330,6 @@ jobs: cd coap go test ./... --race -v -coverprofile=coverage.out go tool cover -html=coverage.out -o coverage.html - cache restore codecov ./codecov env: @@ -403,7 +400,6 @@ jobs: - name: Lint HTTP run: | cd http - cache restore linter ./bin/golangci-lint run - name: Test HTTP @@ -411,7 +407,6 @@ jobs: cd http go test ./... -race -v -coverprofile=coverage.out go tool cover -html=coverage.out -o coverage.html - cache restore codecov ./codecov env: @@ -486,7 +481,6 @@ jobs: - name: Lint MQTT run: | cd mqtt - cache restore linter ./bin/golangci-lint run - name: Test MQTT @@ -494,7 +488,6 @@ jobs: cd mqtt go test ./... --race -v -coverprofile=coverage.out go tool cover -html=coverage.out -o coverage.html - cache restore codecov ./codecov env: CODECOV_TOKEN: ${{ secrets.CODECOV }} @@ -653,7 +646,6 @@ jobs: - name: Lint Bootstrap run: | cd bootstrap - cache restore linter ./bin/golangci-lint run - name: Test Bootstrap @@ -661,7 +653,6 @@ jobs: cd bootstrap go test ./... --race -v -coverprofile=coverage.out go tool cover -html=coverage.out -o coverage.html - cache restore codecov ./codecov env: CODECOV_TOKEN: ${{ secrets.CODECOV }} @@ -735,7 +726,6 @@ jobs: - name: Lint Certs run: | cd certs - cache restore linter ./bin/golangci-lint run - name: Test Certs @@ -743,7 +733,6 @@ jobs: cd certs go test ./... --race -v -coverprofile=coverage.out go tool cover -html=coverage.out -o coverage.html - cache restore codecov ./codecov env: @@ -815,7 +804,6 @@ jobs: - name: Lint Provision run: | cd provision - cache restore linter ./bin/golangci-lint run - name: Test Provision @@ -823,7 +811,6 @@ jobs: cd provision go test ./... --race -v -coverprofile=coverage.out go tool cover -html=coverage.out -o coverage.html - cache restore codecov ./codecov env: @@ -901,7 +888,6 @@ jobs: - name: Lint Twins run: | cd twins - cache restore linter ./bin/golangci-lint run - name: Test Twins @@ -909,7 +895,6 @@ jobs: cd twins go test ./... --race -v -coverprofile=coverage.out go tool cover -html=coverage.out -o coverage.html - cache restore codecov ./codecov env: CODECOV_TOKEN: ${{ secrets.CODECOV }} @@ -987,7 +972,6 @@ jobs: - name: Lint Readers run: | cd readers - cache restore linter ./bin/golangci-lint run - name: Test Readers @@ -995,7 +979,6 @@ jobs: cd readers go test ./... --race -v -coverprofile=coverage.out go tool cover -html=coverage.out -o coverage.html - cache restore codecov ./codecov env: CODECOV_TOKEN: ${{ secrets.CODECOV }} @@ -1086,7 +1069,6 @@ jobs: - name: Lint Consumers run: | cd consumers - cache restore linter ./bin/golangci-lint run - name: Test Consumers @@ -1094,7 +1076,6 @@ jobs: cd consumers go test ./... --race -v -coverprofile=coverage.out go tool cover -html=coverage.out -o coverage.html - cache restore codecov ./codecov env: CODECOV_TOKEN: ${{ secrets.CODECOV }} @@ -1180,7 +1161,6 @@ jobs: - name: Lint CLI run: | cd cli - cache restore linter ./bin/golangci-lint run - name: Test CLI @@ -1188,7 +1168,6 @@ jobs: cd cli go test ./... --race -v -coverprofile=coverage.out go tool cover -html=coverage.out -o coverage.html - cache restore codecov ./codecov env: CODECOV_TOKEN: ${{ secrets.CODECOV }} @@ -1258,7 +1237,6 @@ jobs: - name: Lint LoRa run: | cd lora - cache restore linter ./bin/golangci-lint run - name: Test LoRa @@ -1266,7 +1244,6 @@ jobs: cd lora go test ./... --race -v -coverprofile=coverage.out go tool cover -html=coverage.out -o coverage.html - cache restore codecov ./codecov env: CODECOV_TOKEN: ${{ secrets.CODECOV }} @@ -1339,7 +1316,6 @@ jobs: - name: Lint OPC-UA run: | cd opcua - cache restore linter ./bin/golangci-lint run - name: Test OPC-UA @@ -1347,7 +1323,6 @@ jobs: cd opcua go test ./... --race -v -coverprofile=coverage.out go tool cover -html=coverage.out -o coverage.html - cache restore codecov ./codecov env: CODECOV_TOKEN: ${{ secrets.CODECOV }} @@ -1417,7 +1392,6 @@ jobs: - name: Lint Internal run: | cd internal - cache restore linter ./bin/golangci-lint run - name: Test Internal @@ -1425,7 +1399,6 @@ jobs: cd internal go test ./... --race -v -coverprofile=coverage.out go tool cover -html=coverage.out -o coverage.html - cache restore codecov ./codecov lint-and-test-logger: @@ -1461,7 +1434,6 @@ jobs: - name: Lint Logger run: | cd logger - cache restore linter ./bin/golangci-lint run - name: Test Logger @@ -1469,7 +1441,6 @@ jobs: cd logger go test ./... --race -v -coverprofile=coverage.out go tool cover -html=coverage.out -o coverage.html - cache restore codecov ./codecov lint-and-test-pkg: @@ -1505,7 +1476,6 @@ jobs: - name: Lint PKG run: | cd pkg - cache restore linter ./bin/golangci-lint run - name: Test PKG @@ -1513,7 +1483,6 @@ jobs: cd pkg go test ./... --race -v -coverprofile=coverage.out go tool cover -html=coverage.out -o coverage.html - cache restore codecov ./codecov lint-and-test-tools: @@ -1549,7 +1518,6 @@ jobs: - name: Lint Tools run: | cd tools - cache restore linter ./bin/golangci-lint run - name: Test Tools @@ -1557,7 +1525,6 @@ jobs: cd tools go test ./... --race -v -coverprofile=coverage.out go tool cover -html=coverage.out -o coverage.html - cache restore codecov ./codecov compile-check-rabbitmq: