Update dependency @actions/core to v1.11.1 #625
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: "20" | |
- 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" | |
- name: Test downloading external unarchived binary | |
uses: ./ | |
with: | |
binary: "vendir" | |
version: "0.40.2" | |
download_url: "https://github.com/carvel-dev/vendir/releases/download/v${version}/vendir-linux-amd64" | |
smoke_test: "${binary} --version" |