Skip to content

Commit 575371f

Browse files
committed
add script ( local ) to run actions locally using act
1 parent 71120b2 commit 575371f

4 files changed

Lines changed: 38 additions & 13 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# local copy of the generate script ( modified )
22
generate.sh
3+
# local actions run ( modified)
4+
local_actions.sh
35
# jenv
46
.java-version
57
# Byte-compiled / optimized / DLL files

local_actions.sh.local

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#!/usr/bin/env bash
2+
# Copyright 2024 simple-syslog authors
3+
# All rights reserved.
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
16+
# Template for running github actions locally using [act](https://github.com/nektos/act)
17+
# see the page for act install instructions
18+
#
19+
# If running on apple silicon include `--container-architecture linux/amd64`
20+
# example in the top level directory
21+
# `> act --container-architecture linux/amd64`
22+
# Rename this file removing the local file and modify as needed
23+
act

poetry.lock

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,6 @@ tomli==2.0.1 ; python_version >= "3.10" and python_full_version < "3.11.0a7" \
6868
types-flake8-bugbear==22.12.6.0 ; python_version >= "3.10" and python_version < "4.0" \
6969
--hash=sha256:153d7a6a2d0e37a4a1c81fb6784242c5cb8ff8048c2477288b69abc5d7e1f7f5 \
7070
--hash=sha256:57a8738f27118e444bd5ea3eba8c8488b527f74d9c30fa723118b4edfafa2a7f
71-
typing-extensions==4.11.0 ; python_version >= "3.10" and python_version < "4.0" \
72-
--hash=sha256:83f085bd5ca59c80295fc2a82ab5dac679cbe02b9f33f7d83af68e241bea51b0 \
73-
--hash=sha256:c1f94d72897edaf4ce775bb7558d5b79d8126906a14ea5ed1635921406c0387a
71+
typing-extensions==4.12.0 ; python_version >= "3.10" and python_version < "4.0" \
72+
--hash=sha256:8cbcdc8606ebcb0d95453ad7dc5065e6237b6aa230a31e81d0f440c30fed5fd8 \
73+
--hash=sha256:b349c66bea9016ac22978d800cfff206d5f9816951f12a7d0ec5578b0a819594

0 commit comments

Comments
 (0)