Skip to content

chore(deps): update goreleaser/goreleaser-action action to v4 #55

chore(deps): update goreleaser/goreleaser-action action to v4

chore(deps): update goreleaser/goreleaser-action action to v4 #55

Workflow file for this run

name: Test Action
on:
pull_request:
push:
branches:
- master
tags:
- v0
jobs:
test_action_with_version:
name: Run the action with the version
runs-on: ubuntu-latest
steps:
- name: Get GITHUB_TOKEN for Github Apps
uses: nabeken/go-github-apps@8eb7ca72b1a91f936373b9b0a072694aef88c981 # v0
id: go-github-apps
with:
installation_id: ${{ secrets.installation_id }}
app_id: ${{ secrets.app_id }}
private_key: ${{ secrets.private_key }}
version: "0.1.7"
- name: Test Github API call
run: |
curl --fail -H 'Authorization: token ${{ steps.go-github-apps.outputs.app_github_token }}' https://api.github.com/
test_action_with_default:
name: Run the action with the default version
runs-on: ubuntu-latest
steps:
- name: Get GITHUB_TOKEN for Github Apps
uses: nabeken/go-github-apps@8eb7ca72b1a91f936373b9b0a072694aef88c981 # v0
id: go-github-apps
with:
installation_id: ${{ secrets.installation_id }}
app_id: ${{ secrets.app_id }}
private_key: ${{ secrets.private_key }}
- name: Test Github API call
run: |
curl --fail -H 'Authorization: token ${{ steps.go-github-apps.outputs.app_github_token }}' https://api.github.com/