Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misc Actions updates #857

Merged
merged 9 commits into from
Dec 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
1 change: 0 additions & 1 deletion .github/workflows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
push:
branches:
- master
- nix
pull_request:
branches:
- master
Expand Down
37 changes: 13 additions & 24 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,43 +24,32 @@ jobs:
brew: automake

steps:
- name: Workaround for actions/cache#403
if: runner.os == 'macOS'
run: |
brew install gnu-tar
echo PATH="/usr/local/opt/gnu-tar/libexec/gnubin:$PATH" >> $GITHUB_ENV

- name: Get Packages
uses: mstksg/get-package@v1
with:
brew: ${{ matrix.brew }}
apt-get: ${{ matrix.apt-get }}

- name: Checkout
uses: actions/checkout@v2

- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: '3.6'
uses: actions/checkout@v3

- name: Cache Local
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.local/
key: ${{ runner.os }}-local-v3
key: ${{ runner.os }}-local-v4

- name: Cache Stack
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.stack
key: ${{ runner.os }}-stack-v3
key: ${{ runner.os }}-stack-v4

- name: Cache Cabal
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.cabal
key: ${{ runner.os }}-cabal-v3
key: ${{ runner.os }}-cabal-v4

- name: Build Libraries
run: |
Expand All @@ -86,7 +75,7 @@ jobs:
run: GZIP=-9 tar -czf echidna-test.tar.gz -C $HOME/.local/bin/ echidna-test

- name: Upload artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: echidna-test-${{ runner.os }}
path: echidna-test.tar.gz
Expand All @@ -99,7 +88,7 @@ jobs:

- name: Upload testsuite
if: runner.os == 'Linux'
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: echidna-testsuite
path: echidna-testsuite
Expand All @@ -125,12 +114,12 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup Python
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: '3.6'
python-version: '3.8'

- name: Install dependencies
run: |
Expand All @@ -141,7 +130,7 @@ jobs:
SOLC_VER: ${{ matrix.solc }}

- name: Download testsuite
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: echidna-testsuite

Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ on:
push:
branches:
- master
- github-docker
- docker-slim
tags:
- '*'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/hlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
uses: actions/checkout@v3

- name: Install Nix
uses: cachix/install-nix-action@v17
uses: cachix/install-nix-action@v18
with:
nix_path: nixpkgs=channel:nixos-unstable

Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
push:
branches:
- master
- nix
pull_request:
branches:
- master
Expand All @@ -19,7 +18,7 @@ jobs:
- macos-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v17
- uses: cachix/install-nix-action@v18
with:
nix_path: nixpkgs=channel:nixos-unstable
- run: nix-build