Skip to content

Commit

Permalink
Merge pull request #1999 from reubenmiller/ci/remove-actions-rs-toolc…
Browse files Browse the repository at this point in the history
…hain

ci: remove usage of actions-rs/toolchain@v1 as it is not actively maintained
  • Loading branch information
reubenmiller authored Jun 2, 2023
2 parents e11f6dc + 2d6b441 commit f307068
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/pull-request-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,11 @@ jobs:
- uses: actions/checkout@v3

- name: Install nightly toolchain
uses: actions-rs/toolchain@v1
id: toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly
override: true
- run: rustup override set ${{steps.toolchain.outputs.name}}

- name: Run cargo-udeps
uses: aig787/cargo-udeps-action@v1
Expand Down Expand Up @@ -202,12 +203,17 @@ jobs:
uses: actions/checkout@v3

# Nightly toolchain is needed for cargo fmt since issue: https://github.com/thin-edge/thin-edge.io/issues/1660
# dtolnay/rust-toolchain is preferred over actions-rs/toolchain is currently not maintained and currently using
# deprecated GHA api (see https://github.com/actions-rs/toolchain/issues/219).
# However since dtolnay/rust-toolchain does not support the 'override' option, an additional call to
# rustup override is required (see https://github.com/dtolnay/rust-toolchain/issues/29#issuecomment-1412903426)
- name: Install nightly toolchain
uses: actions-rs/toolchain@v1
id: toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly
components: rustfmt
override: true
- run: rustup override set ${{steps.toolchain.outputs.name}}

- name: Cargo fmt --version
uses: actions-rs/cargo@v1
Expand Down

1 comment on commit f307068

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Robot Results

✅ Passed ❌ Failed ⏭️ Skipped Total Pass %
214 0 5 214 100

Passed Tests

Name ⏱️ Duration Suite
Define Child device 1 ID 0.004 s C8Y Child Alarms Rpi
Normal case when the child device does not exist on c8y cloud 3.086 s C8Y Child Alarms Rpi
Normal case when the child device already exists 1.264 s C8Y Child Alarms Rpi
Reconciliation when the new alarm message arrives, restart the mapper 1.788 s C8Y Child Alarms Rpi
Reconciliation when the alarm that is cleared 5.848 s C8Y Child Alarms Rpi
Prerequisite Parent 17.431 s Child Conf Mgmt Plugin
Prerequisite Child 0.653 s Child Conf Mgmt Plugin
Child device bootstrapping 15.917 s Child Conf Mgmt Plugin
Snapshot from device 61.255 s Child Conf Mgmt Plugin
Child device config update 62.563 s Child Conf Mgmt Plugin
Configuration types should be detected on file change (without restarting service) 62.823 s Inotify Crate
Check lock file existence in default folder 2.34 s Lock File
Check PID number in lock file 2.7279999999999998 s Lock File
Check PID number in lock file after restarting the services 2.1189999999999998 s Lock File
Check starting same service twice 1.232 s Lock File
Switch off lock file creation 1.897 s Lock File
Set configuration when file exists 10.965 s Configuration Operation
Set configuration when file does not exist 7.635 s Configuration Operation
Set configuration with broken url 6.102 s Configuration Operation
Get configuration 5.563 s Configuration Operation
Get non existent configuration file 5.127 s Configuration Operation
Get non existent configuration type 5.054 s Configuration Operation
Update configuration plugin config via cloud 5.11 s Configuration Operation
Modify configuration plugin config via local filesystem modify inplace 2.026 s Configuration Operation
Modify configuration plugin config via local filesystem overwrite 2.411 s Configuration Operation
Update configuration plugin config via local filesystem copy 5.042 s Configuration Operation
Update configuration plugin config via local filesystem move (different directory) 3.393 s Configuration Operation
Update configuration plugin config via local filesystem move (same directory) 6.441 s Configuration Operation
Successful firmware operation 80.46 s Firmware Operation
Install with empty firmware name 57.654 s Firmware Operation
Prerequisite Parent 21.66 s Firmware Operation Child Device
Prerequisite Child 8.714 s Firmware Operation Child Device
Child device firmware update 6.764 s Firmware Operation Child Device
Child device firmware update with cache 6.655 s Firmware Operation Child Device
Firmware plugin supports restart via service manager #1932 5.313 s Firmware Operation Child Device Retry
Update Inventory data via inventory.json 1.885 s Inventory Update
Inventory includes the agent fragment with version information 1.909 s Inventory Update
Retrieve a JWT tokens 60.133 s Jwt Request
Check running collectd 1.214 s Monitor Device Collectd
Is collectd publishing MQTT messages? 2.982 s Monitor Device Collectd
Check thin-edge monitoring 3.49 s Monitor Device Collectd
Check grouping of measurements 8.333 s Monitor Device Collectd
Update the custom operation dynamically 51.565 s Dynamically Reload Operation
Main device registration 2.088 s Device Registration
Child device registration 2.85 s Device Registration
Supports restarting the device 65.993 s Restart Device
Update tedge version from previous using Cumulocity 91.785 s Tedge Self Update
Test if all c8y services are up 38.066 s Service Monitoring
Test if all c8y services are down 111.097 s Service Monitoring
Test if all c8y services are using configured service type 223.614 s Service Monitoring
Test if all c8y services using default service type when service type configured as empty 208.545 s Service Monitoring
Check health status of tedge-mapper-c8y service on broker stop start 26.783 s Service Monitoring
Check health status of tedge-mapper-c8y service on broker restart 27.881 s Service Monitoring
Check health status of child device service 24.982 s Service Monitoring
Successful shell command with output 3.909 s Shell Operation
Check Successful shell command with literal double quotes output 3.566 s Shell Operation
Execute multiline shell command 3.3970000000000002 s Shell Operation
Failed shell command 3.401 s Shell Operation
Software list should be populated during startup 50.587 s Software
Install software via Cumulocity 48.103 s Software
Software list should only show currently installed software and not candidates 40.984 s Software
Child devices support sending simple measurements 3.693 s Child Device Telemetry
Child devices support sending custom measurements 1.354 s Child Device Telemetry
Child devices support sending custom events 1.353 s Child Device Telemetry
Child devices support sending custom events overriding the type 1.413 s Child Device Telemetry
Child devices support sending custom alarms #1699 3.556 s Child Device Telemetry
Child devices support sending inventory data via c8y topic 1.022 s Child Device Telemetry
Child device supports sending custom child device measurements directly to c8y 1.627 s Child Device Telemetry
Check retained alarms 232.136 s Raise Alarms
Thin-edge devices support sending simple measurements 1.638 s Thin-Edge Device Telemetry
Thin-edge devices support sending simple measurements with custom type 1.22 s Thin-Edge Device Telemetry
Thin-edge devices support sending custom measurements 1.236 s Thin-Edge Device Telemetry
Thin-edge devices support sending custom events 1.179 s Thin-Edge Device Telemetry
Thin-edge devices support sending custom events overriding the type 1.2 s Thin-Edge Device Telemetry
Thin-edge devices support sending custom alarms #1699 1.149 s Thin-Edge Device Telemetry
Thin-edge device supports sending custom Thin-edge device measurements directly to c8y 1.595 s Thin-Edge Device Telemetry
Thin-edge device support sending inventory data via c8y topic 1.421 s Thin-Edge Device Telemetry
thin-edge components support a custom config-dir location via flags 26.411 s Config Dir
Validate updated data path used by tedge-agent 0.519 s Data Path Config
Validate updated data path used by c8y-firmware-plugin 10.85 s Data Path Config
Stop tedge-agent service 0.3 s Log Path Config
Customize the log path 0.102 s Log Path Config
Initialize tedge-agent 0.105 s Log Path Config
Check created folders 0.128 s Log Path Config
Remove created custom folders 0.148 s Log Path Config
Install thin-edge via apt 31.657 s Install Apt
Install latest via script (from current branch) 24.861 s Install Tedge
Install specific version via script (from current branch) 20.057 s Install Tedge
Install latest tedge via script (from main branch) 20.073 s Install Tedge
Install then uninstall latest tedge via script (from main branch) 55.66 s Install Tedge
Support starting and stopping services 36.187 s Service-Control
Supports a reconnect 50.076 s Test-Commands
Supports disconnect then connect 39.209 s Test-Commands
Update unknown setting 38.991 s Test-Commands
Update known setting 34.71 s Test-Commands
Stop c8y-configuration-plugin 0.144 s Health C8Y-Configuration-Plugin
Update the service file 0.086 s Health C8Y-Configuration-Plugin
Reload systemd files 0.601 s Health C8Y-Configuration-Plugin
Start c8y-configuration-plugin 0.304 s Health C8Y-Configuration-Plugin
Start watchdog service 10.224 s Health C8Y-Configuration-Plugin
Check PID of c8y-configuration-plugin 0.142 s Health C8Y-Configuration-Plugin
Kill the PID 0.315 s Health C8Y-Configuration-Plugin
Recheck PID of c8y-configuration-plugin 6.329 s Health C8Y-Configuration-Plugin
Compare PID change 0.001 s Health C8Y-Configuration-Plugin
Stop watchdog service 0.09 s Health C8Y-Configuration-Plugin
Remove entry from service file 0.101 s Health C8Y-Configuration-Plugin
Stop c8y-log-plugin 0.154 s Health C8Y-Log-Plugin
Update the service file 0.113 s Health C8Y-Log-Plugin
Reload systemd files 0.35 s Health C8Y-Log-Plugin
Start c8y-log-plugin 0.108 s Health C8Y-Log-Plugin
Start watchdog service 10.118 s Health C8Y-Log-Plugin
Check PID of c8y-log-plugin 0.12 s Health C8Y-Log-Plugin
Kill the PID 0.29 s Health C8Y-Log-Plugin
Recheck PID of c8y-log-plugin 6.615 s Health C8Y-Log-Plugin
Compare PID change 0.001 s Health C8Y-Log-Plugin
Stop watchdog service 0.139 s Health C8Y-Log-Plugin
Remove entry from service file 0.138 s Health C8Y-Log-Plugin
Stop tedge-mapper 0.23 s Health Tedge Mapper C8Y
Update the service file 0.224 s Health Tedge Mapper C8Y
Reload systemd files 0.774 s Health Tedge Mapper C8Y
Start tedge-mapper 0.326 s Health Tedge Mapper C8Y
Start watchdog service 10.258 s Health Tedge Mapper C8Y
Check PID of tedge-mapper 0.298 s Health Tedge Mapper C8Y
Kill the PID 0.164 s Health Tedge Mapper C8Y
Recheck PID of tedge-mapper 6.369 s Health Tedge Mapper C8Y
Compare PID change 0 s Health Tedge Mapper C8Y
Stop watchdog service 0.135 s Health Tedge Mapper C8Y
Remove entry from service file 0.163 s Health Tedge Mapper C8Y
Stop tedge-agent 0.233 s Health Tedge-Agent
Update the service file 0.347 s Health Tedge-Agent
Reload systemd files 0.561 s Health Tedge-Agent
Start tedge-agent 0.13 s Health Tedge-Agent
Start watchdog service 10.23 s Health Tedge-Agent
Check PID of tedge-mapper 0.079 s Health Tedge-Agent
Kill the PID 0.386 s Health Tedge-Agent
Recheck PID of tedge-agent 6.481 s Health Tedge-Agent
Compare PID change 0.001 s Health Tedge-Agent
Stop watchdog service 0.142 s Health Tedge-Agent
Remove entry from service file 0.141 s Health Tedge-Agent
Stop tedge-mapper-az 0.165 s Health Tedge-Mapper-Az
Update the service file 0.125 s Health Tedge-Mapper-Az
Reload systemd files 0.647 s Health Tedge-Mapper-Az
Start tedge-mapper-az 0.142 s Health Tedge-Mapper-Az
Start watchdog service 10.2 s Health Tedge-Mapper-Az
Check PID of tedge-mapper-az 0.088 s Health Tedge-Mapper-Az
Kill the PID 0.184 s Health Tedge-Mapper-Az
Recheck PID of tedge-agent 6.373 s Health Tedge-Mapper-Az
Compare PID change 0.001 s Health Tedge-Mapper-Az
Stop watchdog service 0.106 s Health Tedge-Mapper-Az
Remove entry from service file 0.154 s Health Tedge-Mapper-Az
Stop tedge-mapper-collectd 0.178 s Health Tedge-Mapper-Collectd
Update the service file 0.174 s Health Tedge-Mapper-Collectd
Reload systemd files 0.751 s Health Tedge-Mapper-Collectd
Start tedge-mapper-collectd 0.377 s Health Tedge-Mapper-Collectd
Start watchdog service 10.315 s Health Tedge-Mapper-Collectd
Check PID of tedge-mapper-collectd 0.071 s Health Tedge-Mapper-Collectd
Kill the PID 0.178 s Health Tedge-Mapper-Collectd
Recheck PID of tedge-mapper-collectd 6.298 s Health Tedge-Mapper-Collectd
Compare PID change 0.001 s Health Tedge-Mapper-Collectd
Stop watchdog service 0.06 s Health Tedge-Mapper-Collectd
Remove entry from service file 0.067 s Health Tedge-Mapper-Collectd
tedge-collectd-mapper health status 5.331 s Health Tedge-Mapper-Collectd
c8y-log-plugin health status 5.4 s MQTT health endpoints
c8y-configuration-plugin health status 5.484 s MQTT health endpoints
Publish on a local insecure broker 0.361 s Basic Pub Sub
Publish on a local secure broker 2.375 s Basic Pub Sub
Publish on a local secure broker with client authentication 2.591 s Basic Pub Sub
Check remote mqtt broker #1773 3.095 s Remote Mqtt Broker
Wrong package name 0.131 s Improve Tedge Apt Plugin Error Messages
Wrong version 0.122 s Improve Tedge Apt Plugin Error Messages
Wrong type 0.435 s Improve Tedge Apt Plugin Error Messages
tedge_connect_test_positive 0.462 s Tedge Connect Test
tedge_connect_test_negative 1.8199999999999998 s Tedge Connect Test
tedge_connect_test_sm_services 8.879 s Tedge Connect Test
tedge_disconnect_test_sm_services 1.421 s Tedge Connect Test
Install thin-edge.io 19.016 s Call Tedge
call tedge -V 0.079 s Call Tedge
call tedge -h 0.113 s Call Tedge
call tedge -h -V 0.104 s Call Tedge
call tedge help 0.101 s Call Tedge
tedge config list 0.09 s Call Tedge Config List
tedge config list --all 0.083 s Call Tedge Config List
set/unset device.type 0.282 s Call Tedge Config List
set/unset device.key_path 0.221 s Call Tedge Config List
set/unset device.cert_path 0.294 s Call Tedge Config List
set/unset c8y.root_cert_path 0.224 s Call Tedge Config List
set/unset c8y.smartrest.templates 0.291 s Call Tedge Config List
set/unset az.root_cert_path 0.353 s Call Tedge Config List
set/unset aws.url 0.384 s Call Tedge Config List
set/unset aws.root_cert_path 0.419 s Call Tedge Config List
set/unset aws.mapper.timestamp 0.392 s Call Tedge Config List
set/unset az.mapper.timestamp 0.66 s Call Tedge Config List
set/unset mqtt.bind.address 0.526 s Call Tedge Config List
set/unset mqtt.bind.port 0.745 s Call Tedge Config List
set/unset http.bind.port 0.45 s Call Tedge Config List
set/unset tmp.path 0.38 s Call Tedge Config List
set/unset logs.path 0.664 s Call Tedge Config List
set/unset run.path 0.443 s Call Tedge Config List
set/unset firmware.child.update.timeout 0.317 s Call Tedge Config List
set/unset c8y.url 0.38 s Call Tedge Config List
set/unset az.url 0.342 s Call Tedge Config List
set/unset mqtt.external.bind.port 0.372 s Call Tedge Config List
mqtt.external.bind.address 0.328 s Call Tedge Config List
mqtt.external.bind.interface 0.376 s Call Tedge Config List
set/unset mqtt.external.ca_path 0.337 s Call Tedge Config List
set/unset mqtt.external.cert_file 0.226 s Call Tedge Config List
set/unset mqtt.external.key_file 0.213 s Call Tedge Config List
set/unset software.plugin.default 0.212 s Call Tedge Config List
Get Put Delete 2.247 s Http File Transfer Api
Set keys should return value on stdout 0.152 s Tedge Config Get
Unset keys should not return anything on stdout and warnings on stderr 0.169 s Tedge Config Get
Invalid keys should not return anything on stdout and warnings on stderr 0.168 s Tedge Config Get
Set configuration via environment variables 0.618 s Tedge Config Get
Set unknown configuration via environment variables 0.106 s Tedge Config Get

Please sign in to comment.