Skip to content

Commit f08f3e8

Browse files
committed
Update action dependencies
1 parent 45941ed commit f08f3e8

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

.github/workflows/pull_request.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- name: setup go
10-
uses: actions/setup-go@v3
10+
uses: actions/setup-go@v5
1111
with:
12-
go-version: 1.15.x
12+
go-version: 1.24
1313

1414
- name: checkout
15-
uses: actions/checkout@v3
15+
uses: actions/checkout@v4
1616

1717
- name: unit test
1818
run: go test -v ./...
@@ -26,7 +26,7 @@ jobs:
2626
runs-on: ubuntu-latest
2727
steps:
2828
- name: checkout
29-
uses: actions/checkout@v3
29+
uses: actions/checkout@v4
3030

3131
- name: run action
3232
uses: './'

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
FROM instrumenta/conftest:v0.20.0 as conftest
1+
FROM openpolicyagent/conftest:v0.58.0 AS conftest
22

3-
FROM golang:1.15-alpine as builder
3+
FROM golang:1.24-alpine AS builder
44
COPY --from=conftest /conftest /usr/local/bin/conftest
55
COPY main.go .
66
RUN go build -o /entrypoint main.go

action.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ description: "Easily run Conftest, pull remote policies, surface the results, an
33
branding:
44
icon: "check-square"
55
color: "purple"
6-
inputs:
6+
7+
inputs:
78
files:
89
description: "Files and/or folders for Conftest to test (space delimited)"
910
required: true
@@ -59,6 +60,7 @@ inputs:
5960
description: "Name of the key in the details object that stores the policy ID"
6061
default: "policyID"
6162
required: false
63+
6264
runs:
6365
using: 'docker'
6466
image: 'Dockerfile'

0 commit comments

Comments
 (0)