From a49926e9d6449823c59bf69bb7919a8b18259a2d Mon Sep 17 00:00:00 2001 From: Yifan Gao Date: Wed, 9 Nov 2022 00:14:49 +0800 Subject: [PATCH] chore: update deprecated github actions --- .github/workflows/build.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e09df8bc..207c5405 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,15 +17,13 @@ jobs: BGPTOOLS_VERSION: 0.0.3 GO111MODULE: on steps: - - uses: actions/checkout@v2 - - uses: actions-rs/toolchain@v1 - with: - toolchain: stable + - uses: actions/checkout@v3 + - uses: dtolnay/rust-toolchain@stable - uses: actions/setup-go@v2 with: go-version: 1.16 - run: sudo apt-get install -y lftp bgpdump tree - - uses: actions/cache@v2 + - uses: actions/cache@v3 with: key: ${{ runner.os }}-build-dependencies path: | @@ -36,7 +34,7 @@ jobs: - run: ./stat.sh - run: ./guard.sh - name: Checkout ip-lists branch - uses: actions/checkout@v2 + uses: actions/checkout@v3 if: github.event_name == 'schedule' && github.ref == 'refs/heads/master' with: ref: ip-lists