Skip to content
This repository was archived by the owner on Apr 7, 2026. It is now read-only.

Commit 2cf7480

Browse files
authored
Update ci.yml to use go v1.19 and listed improvements (arlonproj#186)
Update ci.yml * Update actions checkout and setup-go to latest version * Use go 1.19 to build * Add caching for go and python * Install python dependencies from docs/requirements.txt
1 parent 41d46b3 commit 2cf7480

1 file changed

Lines changed: 10 additions & 7 deletions

File tree

.github/workflows/ci.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,22 @@ jobs:
1414
build:
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@v2
17+
- uses: actions/checkout@v3
1818
- name: Set up Go
19-
uses: actions/setup-go@v2
19+
uses: actions/setup-go@v3
2020
with:
21-
go-version: 1.17
21+
go-version: 1.19
22+
check-latest: true
23+
cache: true
2224
- name: Build
2325
run: go build -v ./...
2426
deploy:
2527
runs-on: ubuntu-latest
2628
steps:
27-
- uses: actions/checkout@v2
28-
- uses: actions/setup-python@v2
29+
- uses: actions/checkout@v3
30+
- uses: actions/setup-python@v4
2931
with:
30-
python-version: 3.x
31-
- run: pip install mkdocs-material
32+
python-version: '3.10'
33+
cache: 'pip' # caching pip dependencies
34+
- run: pip install -r docs/requirements.txt
3235
- run: mkdocs gh-deploy --force

0 commit comments

Comments
 (0)