mirror of
https://github.com/gaoyifan/china-operator-ip.git
synced 2025-07-14 05:12:28 +08:00
chore: update deprecated github actions
This commit is contained in:
parent
0039816025
commit
a49926e9d6
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
@ -17,15 +17,13 @@ jobs:
|
|||||||
BGPTOOLS_VERSION: 0.0.3
|
BGPTOOLS_VERSION: 0.0.3
|
||||||
GO111MODULE: on
|
GO111MODULE: on
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- uses: actions-rs/toolchain@v1
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
|
||||||
toolchain: stable
|
|
||||||
- uses: actions/setup-go@v2
|
- uses: actions/setup-go@v2
|
||||||
with:
|
with:
|
||||||
go-version: 1.16
|
go-version: 1.16
|
||||||
- run: sudo apt-get install -y lftp bgpdump tree
|
- run: sudo apt-get install -y lftp bgpdump tree
|
||||||
- uses: actions/cache@v2
|
- uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
key: ${{ runner.os }}-build-dependencies
|
key: ${{ runner.os }}-build-dependencies
|
||||||
path: |
|
path: |
|
||||||
@ -36,7 +34,7 @@ jobs:
|
|||||||
- run: ./stat.sh
|
- run: ./stat.sh
|
||||||
- run: ./guard.sh
|
- run: ./guard.sh
|
||||||
- name: Checkout ip-lists branch
|
- name: Checkout ip-lists branch
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
if: github.event_name == 'schedule' && github.ref == 'refs/heads/master'
|
if: github.event_name == 'schedule' && github.ref == 'refs/heads/master'
|
||||||
with:
|
with:
|
||||||
ref: ip-lists
|
ref: ip-lists
|
||||||
|
Loading…
Reference in New Issue
Block a user