Skip to content

Commit

Permalink
ci(cue): More CUE
Browse files Browse the repository at this point in the history
  • Loading branch information
staticaland committed Aug 6, 2022
1 parent ffa86bd commit 6bb3586
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cue_yaml_reconciliation_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ jobs:
version: latest
- name: Regenerate YAML from CUE
working-directory: .github/workflows
run: cue cmd genworkflows
run: rm *.yml && cue cmd genworkflows && cue cmd toolversions
- name: Check commit is clean
run: test -z "$(git status --porcelain)" || (git status; git diff; false)
2 changes: 1 addition & 1 deletion .github/workflows/goreleaser.cue
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ goreleaser: {
#SetupGo,
{
name: "Run GoReleaser"
uses: "goreleaser/goreleaser-action@v3"
uses: "goreleaser/goreleaser-action@68acf3b1adf004ac9c2f0a4259e85c5f66e99bef"
with: {
distribution: "goreleaser"
version: "latest"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
with:
go-version: 1.18.5
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v3
uses: goreleaser/goreleaser-action@68acf3b1adf004ac9c2f0a4259e85c5f66e99bef
with:
distribution: goreleaser
version: latest
Expand All @@ -31,7 +31,7 @@ jobs:
name: Perform Slack notification
runs-on: ubuntu-latest
steps:
- uses: slackapi/slack-github-action@v1.21.0
- uses: slackapi/slack-github-action@936158bbe252e9a6062e793ea4609642c966e302
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/vale.cue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package workflows
import "encoding/json"

#SlackAction: {
uses: string | *"slackapi/slack-github-action@v1.21.0"
uses: string | *"slackapi/slack-github-action@936158bbe252e9a6062e793ea4609642c966e302"
env: SLACK_BOT_TOKEN: string | *"${{ secrets.SLACK_BOT_TOKEN }}"
with: {
"channel-id": "workflows"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/vale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
- uses: slackapi/slack-github-action@v1.21.0
- uses: slackapi/slack-github-action@936158bbe252e9a6062e793ea4609642c966e302
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
with:
Expand All @@ -27,7 +27,7 @@ jobs:
with:
fail_on_error: true
reporter: github-check
- uses: slackapi/slack-github-action@v1.21.0
- uses: slackapi/slack-github-action@936158bbe252e9a6062e793ea4609642c966e302
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
if: ${{ failure() }}
Expand Down

0 comments on commit 6bb3586

Please sign in to comment.