Skip to content

Commit

Permalink
Update checkout GitHub action
Browse files Browse the repository at this point in the history
Update deprecated actions/checkout to avoid the following build warning:

> Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/checkout@v2

Signed-off-by: Mark S. Lewis <Mark.S.Lewis@outlook.com>
  • Loading branch information
bestbeforetoday authored and denyeart committed Jun 8, 2023
1 parent e3ae867 commit 4b473b0
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,14 @@ jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/setup-go@v3
- uses: actions/setup-go@v4
with:
go-version: 1.19.x
go-version: '1.19'
- uses: actions/setup-node@v3
with:
node-version: 16
registry-url: 'https://npm.pkg.github.com'
- uses: actions/checkout@v2
with:
fetch-depth: 1
clean: true
- uses: actions/checkout@v3
- name: install Tools
run: |
Expand All @@ -44,10 +41,8 @@ jobs:
run: go test -race $(go list ./... | grep -v functionaltests)

- name: Run functional tests
run: |
pushd internal/functionaltests
godog run features/*
popd
working-directory: internal/functionaltests
run: godog run features/*

- name: Check tutorial contents
run: ci/scripts/tutorial-checks.sh
Expand Down

0 comments on commit 4b473b0

Please sign in to comment.