Skip to content

feat: support IMDSv2 for ECS metadata #176

feat: support IMDSv2 for ECS metadata

feat: support IMDSv2 for ECS metadata #176

Workflow file for this run

name: .NET CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET Core
uses: actions/setup-dotnet@v2
with:
dotnet-version: '2.x'
- name: install altcover
run: sudo apt-get update && sudo apt-get install -y libicu-dev && dotnet tool install --global altcover.visualizer --version 8.6.14
- name: Install dependencies
run: cd aliyun-net-sdk-core.Tests/ && dotnet add package AltCover --version 8.6.14 && cd ../ && dotnet restore && dotnet build
- name: Test
run: dotnet test aliyun-net-sdk-core.Tests/ /p:AltCover=true
- name: Upload Coverage Report
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }} # required