Skip to content

Commit 4090d51

Browse files
authored
Github Actions update (#159)
* update github actions to comply with node12 deprecation * ubuntu-18.04 environment is deprecated for github actions
1 parent 2d04ea1 commit 4090d51

File tree

3 files changed

+14
-15
lines changed

3 files changed

+14
-15
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
# Steps represent a sequence of tasks that will be executed as part of the job
2525
steps:
2626
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
27-
- uses: actions/checkout@v2
27+
- uses: actions/checkout@v3
2828
with:
2929
path: go/src/github.com/refraction-networking/conjure
3030
submodules: recursive
@@ -55,7 +55,7 @@ jobs:
5555
echo "Station successfully built"
5656
5757
- name: Set up Go
58-
uses: actions/setup-go@v2
58+
uses: actions/setup-go@v3
5959
with:
6060
go-version: 1.18.x
6161

@@ -77,7 +77,7 @@ jobs:
7777
cd $GITHUB_WORKSPACE && tar -czf conjure-station.tar.gz bin
7878
7979
- name: Save build artifacts
80-
uses: actions/upload-artifact@v2
80+
uses: actions/upload-artifact@v3
8181
with:
8282
name: conjure-station.tar.gz
8383
path: |

.github/workflows/golang.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
go-version: [1.16.x, 1.17.x, 1.18.x]
16+
go-version: [1.16.x, 1.17.x, 1.18.x, stable]
1717

1818
runs-on: ubuntu-latest
1919
steps:
20-
- uses: actions/checkout@v2
20+
- uses: actions/checkout@v3
2121
with:
2222
path: go/src/github.com/refraction-networking/conjure
2323

@@ -29,7 +29,7 @@ jobs:
2929
sudo apt-get install libzmq3-dev libssl-dev pkg-config libgmp3-dev -y -q
3030
3131
- name: Set up Go
32-
uses: actions/setup-go@v2
32+
uses: actions/setup-go@v3
3333
with:
3434
go-version: ${{ matrix.go-version }}
3535

@@ -53,14 +53,14 @@ jobs:
5353
name: Format and Lint with golangci-lint
5454
runs-on: ubuntu-latest
5555
steps:
56-
- uses: actions/checkout@v2
56+
- uses: actions/checkout@v3
5757
- name: Install deps
5858
run: |
5959
sudo apt-get update
6060
sudo apt-get install protobuf-compiler software-properties-common -y -q
6161
sudo apt-get install libzmq3-dev libssl-dev pkg-config libgmp3-dev -y -
6262
- name: golangci-lint
63-
uses: golangci/golangci-lint-action@v2.5.2
63+
uses: golangci/golangci-lint-action@v3
6464
with:
6565
version: latest
6666
args: --disable structcheck,govet

.github/workflows/rust.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,12 @@ jobs:
1818
fail-fast: false
1919
matrix:
2020
include:
21-
# ubuntu-latest is another name for ubuntu-20.04
22-
# - { rust: stable, os: ubuntu-latest }
23-
- { rust: stable, os: ubuntu-18.04 }
21+
# ubuntu-latest is another name for ubuntu-22.04
2422
- { rust: stable, os: ubuntu-20.04 }
23+
- { rust: stable, os: ubuntu-22.04 }
2524
- { rust: nightly, os: ubuntu-latest }
2625
steps:
27-
- uses: actions/checkout@v2
26+
- uses: actions/checkout@v3
2827

2928
- name: install deps
3029
run: |
@@ -46,7 +45,7 @@ jobs:
4645
env:
4746
RUSTFLAGS: -Dwarnings
4847
steps:
49-
- uses: actions/checkout@v2
48+
- uses: actions/checkout@v3
5049
- name: install deps
5150
run: |
5251
sudo apt-get update
@@ -63,8 +62,8 @@ jobs:
6362
name: Verify code formatting
6463
runs-on: ubuntu-latest
6564
steps:
66-
- uses: actions/checkout@v2
65+
- uses: actions/checkout@v3
6766
- uses: hecrj/setup-rust-action@v1
6867
with:
6968
components: rustfmt
70-
- run: cargo fmt --all -- --check
69+
- run: cargo fmt --all -- --check

0 commit comments

Comments
 (0)