Skip to content

Commit

Permalink
Merge pull request #244 from networkservicemesh/deprecated
Browse files Browse the repository at this point in the history
Update deprecated github actions
  • Loading branch information
denis-tingaikin authored Mar 1, 2024
2 parents 4bd089d + 1477e7b commit 5c155ac
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 12 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ jobs:
KUBERNETES_VERSION: ${{ secrets.NSM_KUBERNETES_VERSION }}
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.9.0
uses: styfle/cancel-workflow-action@0.12.1
with:
access_token: ${{ github.token }}
- name: Checkout files
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: ${{ github.repository }}
- name: Install azure-cli
Expand All @@ -42,25 +42,26 @@ jobs:
- name: Set up azure permissions
run: |
sudo chmod -R 777 ~/.azure
- name: Install gcloud-sdk
uses: google-github-actions/setup-gcloud@v0
- uses: 'google-github-actions/auth@v2'
with:
service_account_key: ${{ secrets.GCLOUD_SERVICE_KEY }}
project_id: ${{ secrets.GOOGLE_PROJECT_ID }}
credentials_json: ${{ secrets.GCLOUD_SERVICE_KEY }}
- name: Install gcloud-sdk
uses: google-github-actions/setup-gcloud@v2
- name: Set up /bin permissions
run: |
sudo chmod -R 777 /bin
- uses: actions/setup-go@v1
- uses: actions/setup-go@v5
with:
go-version: 1.20.5
github-token: ${{ github.token }}
token: ${{ github.token }}
- name: setup env
run: |
echo GOPATH=$GITHUB_WORKSPACE >> $GITHUB_ENV
echo GO111MODULE=on >> $GITHUB_ENV
echo $GITHUB_WORKSPACE/bin >> $GITHUB_PATH
- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: ${{ github.workspace }}/src/github.com/${{ github.repository }}

Expand Down Expand Up @@ -159,7 +160,7 @@ jobs:
AZURE_RESOURCE_GROUP: nsm-ci

- name: Upload logs
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
if: ${{ always() }}
with:
name: logs-${{ github.run_number }}
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/networkservicemesh/integration-interdomain-k8s
go 1.20

require (
github.com/networkservicemesh/integration-tests v0.0.0-20240221125333-906f910ba3c1
github.com/networkservicemesh/integration-tests v0.0.0-20240227135027-7ac3a81dd853
github.com/stretchr/testify v1.8.4
)

Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
github.com/networkservicemesh/gotestmd v0.0.0-20220628095933-eabbdc09e0dc h1:1L/OisEFsOyhwaqeJpYmM1nlJ2dBusUMiszPDBlUip0=
github.com/networkservicemesh/gotestmd v0.0.0-20220628095933-eabbdc09e0dc/go.mod h1:8EWnekTRNX+NxBdTFE24WqUoM7SgJHbiafDBrIIdOmQ=
github.com/networkservicemesh/integration-tests v0.0.0-20240221125333-906f910ba3c1 h1:kEpJ1CZwdCgU/QmvO/FvF0F69gjmtiuhigo8FRnK2jI=
github.com/networkservicemesh/integration-tests v0.0.0-20240221125333-906f910ba3c1/go.mod h1:WLpOEldvahZQkJSdU3kspIS4tB1x1hDnWP08B/nCTjM=
github.com/networkservicemesh/integration-tests v0.0.0-20240227135027-7ac3a81dd853 h1:qhZj8zv5bt/+a8Q9T1Zlj8BzGqNt0GVBG7rvXqxTNfk=
github.com/networkservicemesh/integration-tests v0.0.0-20240227135027-7ac3a81dd853/go.mod h1:WLpOEldvahZQkJSdU3kspIS4tB1x1hDnWP08B/nCTjM=
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
Expand Down

0 comments on commit 5c155ac

Please sign in to comment.