Skip to content

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

Bump actions/setup-go from 4.0.1 to 4.1.0

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

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@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
- 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 }}