Skip to content

Update GitHub Actions dependencies to v4 (major) #510

Update GitHub Actions dependencies to v4 (major)

Update GitHub Actions dependencies to v4 (major) #510

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- master
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "16"
- name: Checkout code
uses: actions/checkout@v4
- name: Run yarn install
run: yarn install
- name: Run yarn lint
run: yarn lint
- name: Check ./dist/index.js is up to date
run: yarn dist && git diff --exit-code
- name: Test downloading Giant Swarm binary
uses: ./
with:
binary: "devctl"
version: "2.0.0"
- name: Test downloading external binary
uses: ./
with:
binary: "semver"
version: "3.0.0"
download_url: "https://github.com/fsaintjacques/${binary}-tool/archive/${version}.tar.gz"
tarball_binary_path: "*/src/${binary}"
smoke_test: "${binary} --version"