Skip to content

Bump actions/setup-go from 4.0.1 to 4.1.0 #73

Bump actions/setup-go from 4.0.1 to 4.1.0

Bump actions/setup-go from 4.0.1 to 4.1.0 #73

Workflow file for this run

name: ci-build-test
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
env:
GO_VERSION: '1.20.x'
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
with:
go-version: '1.20'
check-latest: true
cache: true
- name: Run Go tests
run: go test ./...
- name: build
run: go build ./...
- name: run clank - failure
run: "! ./clank testdata/push.yaml"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: run clank - success
run: ./clank .github/workflows
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}