🔖(deps): Update actions/setup-go digest to 3041bf5 #4489
Workflow file for this run
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
on: | |
workflow_dispatch: | |
pull_request: | |
env: | |
working-directory: ./ | |
permissions: | |
contents: read | |
jobs: | |
jbang: | |
defaults: | |
run: | |
working-directory: ${{ env.working-directory }} | |
runs-on: ubuntu-latest | |
name: smoke test against different repos | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2 | |
with: | |
disable-sudo: true | |
egress-policy: block | |
allowed-endpoints: > | |
github.com:443 | |
objects.githubusercontent.com:443 | |
oss.sonatype.org:443 | |
raw.githubusercontent.com:443 | |
repo.maven.apache.org:443 | |
repo1.maven.org:443 | |
repository.sonatype.org:443 | |
sh.jbang.dev:443 | |
- name: checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4 | |
with: | |
path: /root/.jbang | |
key: $-jbang-$ | |
restore-keys: | | |
$-jbang- | |
- name: Set up JDK 17 | |
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
- name: Set up Maven | |
uses: stCarolas/setup-maven@d6af6abeda15e98926a57b5aa970a96bb37f97d1 # v5 | |
with: | |
maven-version: 3.9.6 | |
- name: jbang | |
uses: jbangdev/setup-jbang@2b1b465a7b75f4222b81426f23a01e013aa7b95c # v0.1.1 | |
with: | |
version: 0.119.0 | |
- name: SmokeTest | |
run: | | |
jbang .github/smoketest/SmokeTest.java |